diff options
author | Steven Barth <cyrus@openwrt.org> | 2013-10-23 10:25:26 +0000 |
---|---|---|
committer | Steven Barth <cyrus@openwrt.org> | 2013-10-23 10:25:26 +0000 |
commit | bb699867e032c4a6e681f9bde4325b88914392c5 (patch) | |
tree | 58a06b9714aa22eba871cb98c76f9a09b8365479 /package/network/config/firewall/files/firewall.hotplug | |
parent | a54f104701bdcfc9e892377c66bdaa37a8e9b57d (diff) | |
download | mtk-20170518-bb699867e032c4a6e681f9bde4325b88914392c5.zip mtk-20170518-bb699867e032c4a6e681f9bde4325b88914392c5.tar.gz mtk-20170518-bb699867e032c4a6e681f9bde4325b88914392c5.tar.bz2 |
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/firewall.hotplug')
-rw-r--r-- | package/network/config/firewall/files/firewall.hotplug | 2 |
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 34f3afe..20a95d4 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 |