mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-03 13:03:12 +01:00
Merge 'stop' fix from 3.2
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@4292 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
109affced3
commit
70c7dbd486
@ -7844,6 +7844,8 @@ __EOF__
|
||||
qt arp -i \$external -d \$address pub
|
||||
[ -z "\${haveroute}\${NOROUTES}" ] && qt ip route del \$address dev \$interface
|
||||
done < \${VARDIR}/proxyarp
|
||||
|
||||
rm -f \${VARDIR}/proxyarp
|
||||
fi
|
||||
|
||||
for f in /proc/sys/net/ipv4/conf/*; do
|
||||
|
@ -1269,7 +1269,7 @@ delete_proxy_arp() {
|
||||
rm -f ${VARDIR}/proxyarp
|
||||
fi
|
||||
|
||||
[ -d $STATEDIR ] && touch $STATEDIR/proxyarp
|
||||
[ -d ${VARDIR} ] && touch ${VARDIR}/proxyarp
|
||||
|
||||
case $COMMAND in
|
||||
stop|clear)
|
||||
@ -1306,7 +1306,7 @@ delete_nat() {
|
||||
rm -f ${VARDIR}/nat
|
||||
fi
|
||||
|
||||
[ -d $STATEDIR ] && touch $STATEDIR/nat
|
||||
[ -d ${VARDIR} ] && touch ${VARDIR}/nat
|
||||
}
|
||||
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user