From: Jo-Philipp Wich Date: Thu, 28 Jun 2012 22:05:43 +0000 (+0200) Subject: ubus.c: expose route enabled state X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=19048f79a49b1f242f03e2d81cec6b6e11f18a9e;p=project%2Fnetifd.git ubus.c: expose route enabled state --- diff --git a/ubus.c b/ubus.c index b8de859..b936b9a 100644 --- 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); } }