From: Jo-Philipp Wich Date: Thu, 13 Sep 2012 07:24:12 +0000 (+0300) Subject: ubus.c: now that disabled routes are in the inactive subtable it makes no sense to... X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8a671b56edd90d9b19ea4317ce664793ee324cb4;p=oweals%2Fnetifd.git ubus.c: now that disabled routes are in the inactive subtable it makes no sense to expose the enabled attribute anymore --- 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); } }