summaryrefslogtreecommitdiff
path: root/package/firewall/files/lib
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-03-18 23:34:06 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-03-18 23:34:06 +0000
commitd74c6ce7c5e0f1b4d929ca5e75a85c1e9bcf0015 (patch)
treee9dc3e8586dd3da5af58c3cbadeef086f1e71f71 /package/firewall/files/lib
parent6ac12fbb3cd08026f3f49b3d52043f6d510ab048 (diff)
downloadmtk-20170518-d74c6ce7c5e0f1b4d929ca5e75a85c1e9bcf0015.zip
mtk-20170518-d74c6ce7c5e0f1b4d929ca5e75a85c1e9bcf0015.tar.gz
mtk-20170518-d74c6ce7c5e0f1b4d929ca5e75a85c1e9bcf0015.tar.bz2
firewall: revert processing order of redirects and rules, ensures that rules can be used to filter before redirects are reached
SVN-Revision: 31014
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 0297518..93d4d2e 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