From 19048f79a49b1f242f03e2d81cec6b6e11f18a9e Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 29 Jun 2012 00:05:43 +0200 Subject: [PATCH] ubus.c: expose route enabled state --- ubus.c | 2 ++ 1 file changed, 2 insertions(+) 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); } } -- 2.25.1