diff options
Diffstat (limited to 'package/iptables/files/firewall.awk')
-rw-r--r-- | package/iptables/files/firewall.awk | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/package/iptables/files/firewall.awk b/package/iptables/files/firewall.awk index 5378330045..902c7b1888 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>&- >&-" |