X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/be8ad0190d689eb7f797bdc0618d7e87892a831d..b6fee4a3b3fcbf1b3117d1832d970a8b1b58dc11:/package/iptables/files/firewall.awk diff --git a/package/iptables/files/firewall.awk b/package/iptables/files/firewall.awk index 1a201a0bc..902c7b188 100644 --- a/package/iptables/files/firewall.awk +++ b/package/iptables/files/firewall.awk @@ -1,8 +1,7 @@ +# Copyright (C) 2006 OpenWrt.org + BEGIN { - print ". /etc/config/network" - print "proto=\"$wan_proto\"" - print "[ -z \"$proto\" -o \"$proto\" = \"none\" ] && exit" - print "ifname=\"$wan_ifname\"" + print "ifname=\"$WAN\"" print "[ -z \"$ifname\" ] && exit" print "" print "iptables -X input_$ifname 2>&- >&-"