mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 17:55:55 +02:00
[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
This commit is contained in:
parent
7b5f9bb12a
commit
f71b9d11f6
@ -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
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user