diff options
author | John Crispin <john@openwrt.org> | 2008-08-11 20:46:17 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2008-08-11 20:46:17 +0000 |
commit | 0f5cbca010c00b483bf7678ab7fa59dfafcd58d3 (patch) | |
tree | cabc65d29c86ca7841cae5d2f64499f7c4a86556 /package/firewall/files/new/uci_firewall.sh | |
parent | 5745e536d410a5f3b4a1e261a627cb98eb5e7e35 (diff) | |
download | mtk-20170518-0f5cbca010c00b483bf7678ab7fa59dfafcd58d3.zip mtk-20170518-0f5cbca010c00b483bf7678ab7fa59dfafcd58d3.tar.gz mtk-20170518-0f5cbca010c00b483bf7678ab7fa59dfafcd58d3.tar.bz2 |
uci firewall - remove implicit creation of zones, based on network interfaces
SVN-Revision: 12281
Diffstat (limited to 'package/firewall/files/new/uci_firewall.sh')
-rwxr-xr-x | package/firewall/files/new/uci_firewall.sh | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/package/firewall/files/new/uci_firewall.sh b/package/firewall/files/new/uci_firewall.sh index dcb9c10..e1683e9 100755 --- a/package/firewall/files/new/uci_firewall.sh +++ b/package/firewall/files/new/uci_firewall.sh @@ -91,10 +91,6 @@ load_synflood() { $IPTABLES -A INPUT -p tcp --syn -j SYN_FLOOD } -create_network_zone() { - create_zone "$1" "$1" -} - fw_defaults() { load_policy $1 DEF_INPUT=$input @@ -261,8 +257,6 @@ fw_init() { config_foreach fw_defaults defaults echo "Loading zones" config_foreach fw_zone zone - echo "Loading interfaces" - config_foreach create_network_zone interface echo "Loading rules" config_foreach fw_rule rule echo "Loading forwarding" |