fix /etc/config/firewall
authorFelix Fietkau <nbd@openwrt.org>
Wed, 3 May 2006 23:44:45 +0000 (23:44 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 3 May 2006 23:44:45 +0000 (23:44 +0000)
SVN-Revision: 3726

openwrt/package/iptables/files/firewall.awk

index 1b63f83..1a201a0 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\""