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
commit715285dd439e12b1a5d87c25a601457a282d2deb (patch)
tree0aa1bd4d374721db009853e024ef2a13982b6210 /package/firewall/files
parent36d7f7c017ba6496b50a428678b98acabf973361 (diff)
downloadupstream-715285dd439e12b1a5d87c25a601457a282d2deb.tar.gz
upstream-715285dd439e12b1a5d87c25a601457a282d2deb.tar.bz2
upstream-715285dd439e12b1a5d87c25a601457a282d2deb.zip
firewall: properly dispatch delif events if the network has a different name then the corresponding zone
SVN-Revision: 17580
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
}