summaryrefslogtreecommitdiffstats
path: root/package/network/config/firewall/files
diff options
context:
space:
mode:
authorSteven Barth <cyrus@openwrt.org>2013-10-23 10:25:26 +0000
committerSteven Barth <cyrus@openwrt.org>2013-10-23 10:25:26 +0000
commitbb699867e032c4a6e681f9bde4325b88914392c5 (patch)
tree58a06b9714aa22eba871cb98c76f9a09b8365479 /package/network/config/firewall/files
parenta54f104701bdcfc9e892377c66bdaa37a8e9b57d (diff)
downloadmaster-31e0f0ae-bb699867e032c4a6e681f9bde4325b88914392c5.tar.gz
master-31e0f0ae-bb699867e032c4a6e681f9bde4325b88914392c5.tar.bz2
master-31e0f0ae-bb699867e032c4a6e681f9bde4325b88914392c5.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. SVN-Revision: 38504
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