summaryrefslogtreecommitdiffhomepage
path: root/ubus.c
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-09-13 10:24:12 +0300
committerJo-Philipp Wich <jow@openwrt.org>2012-09-13 10:24:12 +0300
commit8a671b56edd90d9b19ea4317ce664793ee324cb4 (patch)
tree9afcaec9d609079a3328d00dd8a6d3704fe42f0b /ubus.c
parent01a947355e7e063ef89ce4f037d0584b686999f0 (diff)
ubus.c: now that disabled routes are in the inactive subtable it makes no sense to expose the enabled attribute anymore
Diffstat (limited to 'ubus.c')
-rw-r--r--ubus.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ubus.c b/ubus.c
index 422caca..be9e632 100644
--- 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);
}
}