From 8a671b56edd90d9b19ea4317ce664793ee324cb4 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 13 Sep 2012 10:24:12 +0300 Subject: [PATCH] ubus.c: now that disabled routes are in the inactive subtable it makes no sense to expose the enabled attribute anymore --- ubus.c | 2 -- 1 file changed, 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); } } -- 2.11.0