Bring trunk up to date with branches/4.0/

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@7312 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep
2007-09-10 15:52:57 +00:00
parent a06ad0e518
commit 6141995184
54 changed files with 1141 additions and 1274 deletions

View File

@ -6,11 +6,9 @@ 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
done < ${VARDIR}/proxyarp
for f in /proc/sys/net/ipv4/conf/*; do
[ -f $f/proxy_arp ] && echo 0 > $f/proxy_arp
done
fi
rm -f ${VARDIR}/proxyarp