From 15f0776e8c94ea15df037794a58b25c59b80aefd Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 29 Apr 2012 13:44:29 +0200 Subject: [PATCH] keep config routes disabled at interface statup --- interface-ip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.25.1