fix /etc/config/firewall
[openwrt/svn-archive/archive.git] / openwrt / package / iptables / files / firewall.awk
index 1b63f83..1a201a0 100644 (file)
@@ -1,4 +1,5 @@
 BEGIN {
+       print ". /etc/config/network"
        print "proto=\"$wan_proto\""
        print "[ -z \"$proto\" -o \"$proto\" = \"none\" ] && exit"
        print "ifname=\"$wan_ifname\""