aboutsummaryrefslogtreecommitdiffstats
path: root/package/firewall/files
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-09-14 14:47:43 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-09-14 14:47:43 +0000
commitc1487643573180a8f2eef7bee8b595797a8bd5b9 (patch)
treecbde0d7fc319eb061ae50ee7f61a142c85e2cc97 /package/firewall/files
parent5123c8b264b32aa2f2fad6b653c7e46759687257 (diff)
downloadupstream-c1487643573180a8f2eef7bee8b595797a8bd5b9.tar.gz
upstream-c1487643573180a8f2eef7bee8b595797a8bd5b9.tar.bz2
upstream-c1487643573180a8f2eef7bee8b595797a8bd5b9.zip
[package] firewall: properly dispatch delif events if the network has a different name then the corresponding zone
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17580 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/firewall/files')
-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 38fbb94418..32f8a853da 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
}