summaryrefslogtreecommitdiffstats
path: root/package/firewall/files/20-firewall
diff options
context:
space:
mode:
Diffstat (limited to 'package/firewall/files/20-firewall')
-rw-r--r--package/firewall/files/20-firewall2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/firewall/files/20-firewall b/package/firewall/files/20-firewall
index 38fbb9441..32f8a853d 100644
--- a/package/firewall/files/20-firewall
+++ b/package/firewall/files/20-firewall
@@ -29,7 +29,7 @@ config_foreach load_zones zone
[ ifdown = "$ACTION" ] && {
for z in $ZONE; do
local up
- config_get up $z up
+ config_get up "$INTERFACE" up
[ "$up" == "1" ] && delif "$INTERFACE" "$ifname" "$z"
done
}