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 422caca15787b9cb130574220a6a9355b8dcf6a7..be9e63221077786867c263587c1f62e7d1d4a515 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);
        }
 }