From 897748aa83475ac92e613bd622b53577a31a3e91 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Tue, 18 Aug 2009 08:43:37 -0700 Subject: [PATCH] Be silent about deleting temporary NAT chain --- Shorewall/lib.base | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Shorewall/lib.base b/Shorewall/lib.base index 09036fb25..1f149fc6d 100644 --- a/Shorewall/lib.base +++ b/Shorewall/lib.base @@ -834,8 +834,8 @@ determine_capabilities() { if [ -n "$NAT_ENABLED" ]; then if qt $IPTABLES -t nat -N $chain; then qt $IPTABLES -t nat -A $chain -j SNAT --to-source 1.2.3.4 --persistent && PERSISTENT_SNAT=Yes - $IPTABLES -t nat -F $chain - $IPTABLES -t nat -X $chain + qt $IPTABLES -t nat -F $chain + qt $IPTABLES -t nat -X $chain fi fi