ubus.c: now that disabled routes are in the inactive subtable it makes no sense to...
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 13 Sep 2012 07:24:12 +0000 (10:24 +0300)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 13 Sep 2012 07:24:12 +0000 (10:24 +0300)
ubus.c

diff --git a/ubus.c b/ubus.c
index 422caca..be9e632 100644 (file)
--- a/ubus.c
+++ b/ubus.c
@@ -445,8 +445,6 @@ interface_ip_dump_route_list(struct interface_ip_settings *ip, bool enabled)
                if (route->flags & DEVROUTE_METRIC)
                        blobmsg_add_u32(&b, "metric", route->metric);
 
-               blobmsg_add_u8(&b, "enabled", route->enabled);
-
                blobmsg_close_table(&b, r);
        }
 }