X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/fabc9e7893e9cab508e753172fa82028aad2f5a0..d5583787a6d58688c00df4e4584f692df68130ce:/package/iptables/files/firewall.awk diff --git a/package/iptables/files/firewall.awk b/package/iptables/files/firewall.awk index 537833004..902c7b188 100644 --- a/package/iptables/files/firewall.awk +++ b/package/iptables/files/firewall.awk @@ -1,10 +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>&- >&-"