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() {