From: Felix Fietkau Date: Sun, 29 Apr 2012 11:44:29 +0000 (+0200) Subject: keep config routes disabled at interface statup X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=15f0776e8c94ea15df037794a58b25c59b80aefd;p=oweals%2Fnetifd.git keep config routes disabled at interface statup --- 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