finally move buildroot-ng to trunk
[openwrt.git] / package / iptables / files / firewall.awk
index 1a201a0..902c7b1 100644 (file)
@@ -1,8 +1,7 @@
+# Copyright (C) 2006 OpenWrt.org
+
 BEGIN {
 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>&- >&-"
        print "[ -z \"$ifname\" ] && exit"
        print ""
        print "iptables -X input_$ifname 2>&- >&-"
This page took 0.037501 seconds and 4 git commands to generate.