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