summaryrefslogtreecommitdiffhomepage
path: root/interface-ip.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-04-29 13:44:29 +0200
committerFelix Fietkau <nbd@openwrt.org>2012-04-29 13:47:12 +0200
commit15f0776e8c94ea15df037794a58b25c59b80aefd (patch)
treeb8a146524919d69d931bb56a526c0cfa171ebd31 /interface-ip.c
parent10c15e535b04041795e3a85b2fb496bd6d856417 (diff)
keep config routes disabled at interface statup
Diffstat (limited to 'interface-ip.c')
-rw-r--r--interface-ip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface-ip.c b/interface-ip.c
index bbf2ccf..104cfbb 100644
--- a/interface-ip.c
+++ b/interface-ip.c
@@ -177,7 +177,7 @@ enable_route(struct interface_ip_settings *ip, struct device_route *route)
if (ip->no_defaultroute && !route->mask)
return false;
- return true;
+ return ip->enabled;
}
static void