projects
/
project
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13f7f29
)
ubus.c: expose route enabled state
author
Jo-Philipp Wich
<jow@openwrt.org>
Thu, 28 Jun 2012 22:05:43 +0000
(
00:05
+0200)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Thu, 28 Jun 2012 22:05:43 +0000
(
00:05
+0200)
ubus.c
patch
|
blob
|
history
diff --git
a/ubus.c
b/ubus.c
index b8de859b21b49baa50277641e643a336676f9dbd..b936b9a4326315daf9fb099a45066aeab05812ac 100644
(file)
--- a/
ubus.c
+++ b/
ubus.c
@@
-432,6
+432,8
@@
interface_ip_dump_route_list(struct interface_ip_settings *ip)
inet_ntop(af, &route->nexthop, buf, buflen);
blobmsg_add_string_buffer(&b);
+ blobmsg_add_u8(&b, "enabled", route->enabled);
+
blobmsg_close_table(&b, r);
}
}