summaryrefslogtreecommitdiffstats
path: root/package/iptables
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-06-30 19:30:38 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-06-30 19:30:38 +0000
commit7ea4f506bbd7180ba9f2aa7e9b0dc17c748235e2 (patch)
tree1bc737930b9f8e6d98e3cf335a26aa69a2682da6 /package/iptables
parent08ec77b1157e6a28e6a88b457077a505046f1502 (diff)
make the firewall script run after the network script again (required for working with dynamically assigned interfaces), include the network state
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7806 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/iptables')
-rwxr-xr-xpackage/iptables/files/firewall.init3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/iptables/files/firewall.init b/package/iptables/files/firewall.init
index 68fc3de62..388c5b4f9 100755
--- a/package/iptables/files/firewall.init
+++ b/package/iptables/files/firewall.init
@@ -2,10 +2,11 @@
# Copyright (C) 2006 OpenWrt.org
## Please make changes in /etc/firewall.user
-START=35
+START=45
start() {
include /lib/network
scan_interfaces
+ config_load /var/state/network
config_get WAN wan ifname
config_get WANDEV wan device