From 77033a1f8168bec3f10017f44a768ed4c8ee97c5 Mon Sep 17 00:00:00 2001 From: teastep Date: Mon, 23 Jan 2006 00:07:59 +0000 Subject: [PATCH] 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 --- Shorewall/firewall | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/Shorewall/firewall b/Shorewall/firewall index f0a4e5467..6655f0183 100755 --- a/Shorewall/firewall +++ b/Shorewall/firewall @@ -2294,12 +2294,8 @@ setup_ipsec() { eval local policy=\$${1}_policy if [ "$policy" != NONE ]; then - case $COMMAND in - start|restart) - ensurechain $1 - run_iptables -I $1 -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --set-mss $2 - ;; - esac + ensurechain $1 + run_iptables -I $1 -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --set-mss $2 fi } # @@ -2762,7 +2758,7 @@ delete_proxy_arp() { esac done < /var/lib/shorewall/proxyarp - [ $COMMAND = compile ] || rm -f /var/lib/shorewall/proxyarp + rm -f /var/lib/shorewall/proxyarp fi [ -d $STATEDIR ] && touch $STATEDIR/proxyarp