diff --git a/Shorewall/Perl/Shorewall/Zones.pm b/Shorewall/Perl/Shorewall/Zones.pm index ba34a4cb5..15f5c41d6 100644 --- a/Shorewall/Perl/Shorewall/Zones.pm +++ b/Shorewall/Perl/Shorewall/Zones.pm @@ -1621,7 +1621,7 @@ sub find_hosts_by_option( $ ) { } for my $interface ( @interfaces ) { - if ( ( ! $interfaces{$interface}{zone} ) && $interfaces{$interface}{options}{$option} ) { + if ( ! $interfaces{$interface}{zone} && $interfaces{$interface}{options}{$option} ) { push @hosts, [ $interface, 'none', ALLIP , [] ]; } }