projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
finally move buildroot-ng to trunk
[openwrt.git]
/
package
/
iptables
/
files
/
firewall.awk
diff --git
a/package/iptables/files/firewall.awk
b/package/iptables/files/firewall.awk
index
1a201a0
..
902c7b1
100644
(file)
--- a/
package/iptables/files/firewall.awk
+++ b/
package/iptables/files/firewall.awk
@@
-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.