firewall: Improve ubus support
authorcyrus <cyrus@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 23 Oct 2013 10:25:26 +0000 (10:25 +0000)
committercyrus <cyrus@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 23 Oct 2013 10:25:26 +0000 (10:25 +0000)
commitbfe87cb72af4b8316a5aa0108d94314cd28acd3e
tree89647c21303b7595f26bc9204edb8f6bb6120042
parent04d5528a317b8dbedcab24ba736a06ba1e4e7dae
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
package/network/config/firewall/Makefile
package/network/config/firewall/files/firewall.hotplug