aboutsummaryrefslogtreecommitdiffstats
path: root/package/firewall
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2008-08-27 15:55:21 +0000
committerJohn Crispin <john@openwrt.org>2008-08-27 15:55:21 +0000
commit146b47b60a5e7dd98dd292f59f4c004adb4d3c98 (patch)
treee60520d0b7295ec81786a86b83a52bd8ceabb406 /package/firewall
parentc1bc95ec34bd48fdad22f3b25d74db25c38e0625 (diff)
downloadupstream-146b47b60a5e7dd98dd292f59f4c004adb4d3c98.tar.gz
upstream-146b47b60a5e7dd98dd292f59f4c004adb4d3c98.tar.bz2
upstream-146b47b60a5e7dd98dd292f59f4c004adb4d3c98.zip
fixes uci firewall init order, Signed-off-by: Roberto Riggio
SVN-Revision: 12402
Diffstat (limited to 'package/firewall')
-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 c488c19424..ca5d51267e 100755
--- a/package/firewall/files/uci_firewall.sh
+++ b/package/firewall/files/uci_firewall.sh
@@ -302,10 +302,10 @@ fw_init() {
config_foreach fw_forwarding forwarding
echo "Loading redirects"
config_foreach fw_redirect redirect
- echo "Loading includes"
- config_foreach fw_include include
echo "Adding custom chains"
fw_custom_chains
+ echo "Loading includes"
+ config_foreach fw_include include
uci_set_state firewall core "" firewall_state
uci_set_state firewall core loaded 1