diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-06-29 00:05:43 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-06-29 00:05:43 +0200 |
commit | 19048f79a49b1f242f03e2d81cec6b6e11f18a9e (patch) | |
tree | 32805fa3838758e6d22e74ec01808c6be6ce693a | |
parent | 13f7f295f33c2639c390d4a6b2c58d1845e12fc3 (diff) |
ubus.c: expose route enabled state
-rw-r--r-- | ubus.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); } } |