keep config routes disabled at interface statup
authorFelix Fietkau <nbd@openwrt.org>
Sun, 29 Apr 2012 11:44:29 +0000 (13:44 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 29 Apr 2012 11:47:12 +0000 (13:47 +0200)
interface-ip.c

index bbf2ccffd85dd10a9c035ce43bbc2eec011d140b..104cfbb1a26491101636d15d863905bb711cd999 100644 (file)
@@ -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