summaryrefslogtreecommitdiffstats
path: root/package/iptables
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-11-03 10:10:08 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-11-03 10:10:08 +0000
commitac329a6a7ec73bc191d17cd0dbb1c34cf570e879 (patch)
treec84dd3ee19b74b0072fd0b6231d40d75af70f78f /package/iptables
parent06f88f2a1584969fcf20ace162a00d239a5d4cc2 (diff)
export WAN variable so that firewall works (#907)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5412 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/iptables')
-rwxr-xr-xpackage/iptables/files/firewall.init1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/iptables/files/firewall.init b/package/iptables/files/firewall.init
index 4e8317d66..04b37bdc4 100755
--- a/package/iptables/files/firewall.init
+++ b/package/iptables/files/firewall.init
@@ -101,6 +101,7 @@ start() {
## USER RULES
[ -f /etc/firewall.user ] && . /etc/firewall.user
[ -n "$WAN" -a -e /etc/config/firewall ] && {
+ export WAN
awk -f /usr/lib/common.awk -f /usr/lib/firewall.awk /etc/config/firewall | ash
}
}