aboutsummaryrefslogtreecommitdiffstats
path: root/package/firewall/files
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-04-19 20:39:02 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-04-19 20:39:02 +0000
commitcacb52e19f81e1a622bba4316b8f6feb2f99eb00 (patch)
treede18baae22c0d4de062eedc819444d5823e7cd77 /package/firewall/files
parentf40eaba4df29362ca53b84b9b8fa478cf051dac4 (diff)
downloadupstream-cacb52e19f81e1a622bba4316b8f6feb2f99eb00.tar.gz
upstream-cacb52e19f81e1a622bba4316b8f6feb2f99eb00.tar.bz2
upstream-cacb52e19f81e1a622bba4316b8f6feb2f99eb00.zip
firewall: process custom rules after forwardings and redirects, this actually allows blocking traffic to certain hosts and other rules
SVN-Revision: 15278
Diffstat (limited to 'package/firewall/files')
-rwxr-xr-xpackage/firewall/files/uci_firewall.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/firewall/files/uci_firewall.sh b/package/firewall/files/uci_firewall.sh
index f6fa82b9cb..c197003595 100755
--- a/package/firewall/files/uci_firewall.sh
+++ b/package/firewall/files/uci_firewall.sh
@@ -401,12 +401,12 @@ fw_init() {
config_foreach fw_defaults defaults
echo "Loading zones"
config_foreach fw_zone zone
- echo "Loading rules"
- config_foreach fw_rule rule
echo "Loading forwarding"
config_foreach fw_forwarding forwarding
echo "Loading redirects"
config_foreach fw_redirect redirect
+ echo "Loading rules"
+ config_foreach fw_rule rule
echo "Loading includes"
config_foreach fw_include include
uci_set_state firewall core loaded 1