From 67ef1f8b93970f554ee013cface25fb4839016de Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Sat, 23 Feb 2013 11:57:07 -0800 Subject: [PATCH] Correct detection of IPv6 NAT_ENABLED. Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Config.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall/Perl/Shorewall/Config.pm b/Shorewall/Perl/Shorewall/Config.pm index 1d0c77d91..dec67c640 100644 --- a/Shorewall/Perl/Shorewall/Config.pm +++ b/Shorewall/Perl/Shorewall/Config.pm @@ -3542,7 +3542,7 @@ sub determine_kernelversion() { # Capability Reporting and detection. # sub Nat_Enabled() { - $family == F_IPV4 ? qt1( "$iptables -t nat -L -n" ) : ''; + qt1( "$iptables -t nat -L -n" ); } sub Persistent_Snat() {