X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/be8ad0190d689eb7f797bdc0618d7e87892a831d..f52d66ff00b24111f87c274d3d7085ef2e1d27b1:/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>&- >&-"