From: Florian Fainelli Date: Fri, 3 Nov 2006 10:10:08 +0000 (+0000) Subject: export WAN variable so that firewall works (#907) X-Git-Tag: reboot~30520 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a72fd20a82a104e1947c4efdef607c5f8e88a450;p=openwrt%2Fstaging%2Fpepe2k.git export WAN variable so that firewall works (#907) SVN-Revision: 5412 --- diff --git a/package/iptables/files/firewall.init b/package/iptables/files/firewall.init index 4e8317d662..04b37bdc4c 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 } }