From 65c282af8b3cc0a7e1c73e9b8b0db2c85cf9b27a Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Thu, 31 Dec 2009 10:33:37 -0800 Subject: [PATCH] Delete temporary nat chain used in capabilities detection. Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Config.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Shorewall/Perl/Shorewall/Config.pm b/Shorewall/Perl/Shorewall/Config.pm index 03b73f959..bd3909243 100644 --- a/Shorewall/Perl/Shorewall/Config.pm +++ b/Shorewall/Perl/Shorewall/Config.pm @@ -1977,8 +1977,8 @@ sub determine_capabilities( $ ) { if ( $capabilities{NAT_ENABLED} ) { if ( qt1( "$iptables -t nat -N $sillyname" ) ) { $capabilities{PERSISTENT_SNAT} = qt1( "$iptables -t nat -A $sillyname -j SNAT --to-source 1.2.3.4 --persistent" ); - qt1( "$iptables -t NAT -F $sillyname" ); - qt1( "$iptables -t NAT -X $sillyname" ); + qt1( "$iptables -t nat -F $sillyname" ); + qt1( "$iptables -t nat -X $sillyname" ); } }