update dnsmasq to 2.50 (#5784)
[openwrt.git] / package / firewall / files / 20-firewall
index 32f8a85..1cfc1b9 100644 (file)
@@ -27,9 +27,10 @@ config_foreach load_zones zone
 }
 
 [ ifdown = "$ACTION" ] && {
+       local up
+       config_get up "$INTERFACE" up
+
        for z in $ZONE; do 
-               local up
-               config_get up "$INTERFACE" up
                [ "$up" == "1" ] && delif "$INTERFACE" "$ifname" "$z"
        done
 }
This page took 0.027447 seconds and 4 git commands to generate.