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