diff --git a/iptables_bpf b/iptables_bpf index e8cc684..feb0062 100755 --- a/iptables_bpf +++ b/iptables_bpf @@ -39,7 +39,7 @@ set -o pipefail : ${IPTABLES:="%(iptables)s"} : ${IPSET:="ipset"} : ${INPUTPLACE:="1"} -: ${DEFAULTINT:=`awk 'BEGIN {n=0} $2 == "00000000" {n=1; print $1; exit} END {if (n=0) {print "eth0"}}' /proc/net/route`} +: ${DEFAULTINT:=`awk 'BEGIN {n=0} $2 == "00000000" {n=1; print $1; exit} END {if (n==0) {print "eth0"}}' /proc/net/route`} iptablesrule () { ${IPTABLES} \ diff --git a/iptables_bpf_chain b/iptables_bpf_chain index 797769c..2af2247 100755 --- a/iptables_bpf_chain +++ b/iptables_bpf_chain @@ -28,7 +28,7 @@ set -o pipefail : ${IPTABLES:="%(iptables)s"} : ${IPSET:="ipset"} : ${INPUTPLACE:="1"} -: ${DEFAULTINT:=`awk 'BEGIN {n=0} $2 == "00000000" {n=1; print $1; exit} END {if (n=0) {print "eth0"}}' /proc/net/route`} +: ${DEFAULTINT:=`awk 'BEGIN {n=0} $2 == "00000000" {n=1; print $1; exit} END {if (n==0) {print "eth0"}}' /proc/net/route`} main_match () { ${IPTABLES} \