X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/676c017ecfced2e37aeec176f8aa6b9df90024f3..28398504ad0bb396806c5499248e3a947851333e:/package/iptables/files/firewall.awk diff --git a/package/iptables/files/firewall.awk b/package/iptables/files/firewall.awk index 1b63f8386..902c7b188 100644 --- a/package/iptables/files/firewall.awk +++ b/package/iptables/files/firewall.awk @@ -1,7 +1,7 @@ +# Copyright (C) 2006 OpenWrt.org + BEGIN { - 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>&- >&-"