summaryrefslogtreecommitdiff
path: root/package/firewall/files/lib
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-03-18 23:34:06 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-03-18 23:34:06 +0000
commit30c57b2be2eeab9b0da1015fd7c7ff6aef094e3a (patch)
treea427c5d8ce89fbce02691bca2532c85b4a1efdb5 /package/firewall/files/lib
parent1430d7ad5e67043f7d7069088d215b4024aaa6e4 (diff)
[package] firewall: revert processing order of redirects and rules, ensures that rules can be used to filter before redirects are reached
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31014 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/firewall/files/lib')
-rw-r--r--package/firewall/files/lib/core.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/firewall/files/lib/core.sh b/package/firewall/files/lib/core.sh
index 0297518a5d..93d4d2e29b 100644
--- a/package/firewall/files/lib/core.sh
+++ b/package/firewall/files/lib/core.sh
@@ -30,12 +30,12 @@ fw_start() {
echo "Loading forwardings"
config_foreach fw_load_forwarding forwarding
- echo "Loading redirects"
- config_foreach fw_load_redirect redirect
-
echo "Loading rules"
config_foreach fw_load_rule rule
+ echo "Loading redirects"
+ config_foreach fw_load_redirect redirect
+
echo "Loading includes"
config_foreach fw_load_include include