diff options
author | John Crispin <blogic@openwrt.org> | 2008-08-11 20:46:17 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2008-08-11 20:46:17 +0000 |
commit | 94acd858c9f4d421f7397ff3b024e53156d6c709 (patch) | |
tree | 5f13d050c58c822e001343acf9eb1534137f0dcb /package/firewall/files/new/20-firewall | |
parent | ee66da6d557c087508ec5e32db9f81b20ed6f449 (diff) | |
download | upstream-94acd858c9f4d421f7397ff3b024e53156d6c709.tar.gz upstream-94acd858c9f4d421f7397ff3b024e53156d6c709.tar.bz2 upstream-94acd858c9f4d421f7397ff3b024e53156d6c709.zip |
uci firewall
- remove implicit creation of zones, based on network interfaces
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12281 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/firewall/files/new/20-firewall')
-rw-r--r-- | package/firewall/files/new/20-firewall | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/package/firewall/files/new/20-firewall b/package/firewall/files/new/20-firewall index a8ce17c976..217e3f66bb 100644 --- a/package/firewall/files/new/20-firewall +++ b/package/firewall/files/new/20-firewall @@ -20,9 +20,7 @@ load_zones() { config_foreach load_zones zone -IFACE=$(find_config $INTERFACE) -[ -n "$IFACE" ] && - list_contains ZONE $IFACE || ZONE="$ZONE $IFACE" +[ -z "$ZONE" ] && exit 0 [ ifup = "$ACTION" ] && { for z in $ZONE; do |