forked from extern/shorewall_code
Remove some remnants of the combined firewall/compiler from firewall
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3353 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
b0a3b0e680
commit
77033a1f81
@ -2294,12 +2294,8 @@ setup_ipsec() {
|
|||||||
eval local policy=\$${1}_policy
|
eval local policy=\$${1}_policy
|
||||||
|
|
||||||
if [ "$policy" != NONE ]; then
|
if [ "$policy" != NONE ]; then
|
||||||
case $COMMAND in
|
|
||||||
start|restart)
|
|
||||||
ensurechain $1
|
ensurechain $1
|
||||||
run_iptables -I $1 -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --set-mss $2
|
run_iptables -I $1 -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --set-mss $2
|
||||||
;;
|
|
||||||
esac
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
#
|
#
|
||||||
@ -2762,7 +2758,7 @@ delete_proxy_arp() {
|
|||||||
esac
|
esac
|
||||||
done < /var/lib/shorewall/proxyarp
|
done < /var/lib/shorewall/proxyarp
|
||||||
|
|
||||||
[ $COMMAND = compile ] || rm -f /var/lib/shorewall/proxyarp
|
rm -f /var/lib/shorewall/proxyarp
|
||||||
fi
|
fi
|
||||||
|
|
||||||
[ -d $STATEDIR ] && touch $STATEDIR/proxyarp
|
[ -d $STATEDIR ] && touch $STATEDIR/proxyarp
|
||||||
|
Loading…
Reference in New Issue
Block a user