Bring trunk up to date with 4.0

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@7376 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep
2007-09-21 16:55:28 +00:00
parent 6dd163b0fe
commit 7a96b07e81
18 changed files with 269 additions and 139 deletions

View File

@ -6,8 +6,8 @@ delete_proxyarp() {
while read address interface external haveroute; do
qt arp -i $external -d $address pub
[ -z "${haveroute}${NOROUTES}" ] && qt ip route del $address dev $interface
interface=/proc/sys/net/ipv4/conf/$interface
[ -f $interface/proxyarp ] && echo 0 > $interface/proxy_arp
f=/proc/sys/net/ipv4/conf/$interface/proxy_arp
[ -f $f ] && echo 0 > $f
done < ${VARDIR}/proxyarp
fi