aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/config/firewall/files
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2013-10-23 10:25:26 +0000
committerSteven Barth <steven@midlink.org>2013-10-23 10:25:26 +0000
commita413fcd1bf8bc2ea4758b786055133dfb2158af7 (patch)
tree89647c21303b7595f26bc9204edb8f6bb6120042 /package/network/config/firewall/files
parent7002de6567623d624a8bf075cc6273240b3859e8 (diff)
downloadupstream-a413fcd1bf8bc2ea4758b786055133dfb2158af7.tar.gz
upstream-a413fcd1bf8bc2ea4758b786055133dfb2158af7.tar.bz2
upstream-a413fcd1bf8bc2ea4758b786055133dfb2158af7.zip
firewall: Improve ubus support
* Use network.interface dump call instead of individual status calls to reduce overall netifd lookups and invokes to 1 per fw3 process. * Allow protocol handlers to assign a firewall zone for an interface in the data section to allow for dynamic firewall zone assignment. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38504 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/config/firewall/files')
-rw-r--r--package/network/config/firewall/files/firewall.hotplug2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/config/firewall/files/firewall.hotplug b/package/network/config/firewall/files/firewall.hotplug
index 34f3afec9b..20a95d4363 100644
--- a/package/network/config/firewall/files/firewall.hotplug
+++ b/package/network/config/firewall/files/firewall.hotplug
@@ -1,6 +1,6 @@
#!/bin/sh
-[ "$ACTION" = ifup ] || exit 0
+[ "$ACTION" = ifup -o "$ACTION" = ifupdate ] || exit 0
/etc/init.d/firewall enabled || exit 0