summaryrefslogtreecommitdiffstats
path: root/package/iptables/files/firewall.awk
diff options
context:
space:
mode:
Diffstat (limited to 'package/iptables/files/firewall.awk')
-rw-r--r--package/iptables/files/firewall.awk5
1 files changed, 1 insertions, 4 deletions
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>&- >&-"