diff options
author | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-09-14 14:47:43 +0000 |
---|---|---|
committer | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-09-14 14:47:43 +0000 |
commit | f71b9d11f60628053b1de337ed8374a6bcffceab (patch) | |
tree | cbde0d7fc319eb061ae50ee7f61a142c85e2cc97 /package/firewall | |
parent | 7b5f9bb12ae1945a5e451f8c9a9050a472262faf (diff) |
[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')
-rw-r--r-- | package/firewall/Makefile | 2 | ||||
-rw-r--r-- | package/firewall/files/20-firewall | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/package/firewall/Makefile b/package/firewall/Makefile index 40bbe300b..2e236fe71 100644 --- a/package/firewall/Makefile +++ b/package/firewall/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=firewall PKG_VERSION:=1 -PKG_RELEASE:=6 +PKG_RELEASE:=7 include $(INCLUDE_DIR)/package.mk 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 } |