diff --git a/Shorewall/Perl/Shorewall/Zones.pm b/Shorewall/Perl/Shorewall/Zones.pm index b4d7f074f..52403bd48 100644 --- a/Shorewall/Perl/Shorewall/Zones.pm +++ b/Shorewall/Perl/Shorewall/Zones.pm @@ -975,7 +975,7 @@ sub process_interface( $$ ) { $options{arp_ignore} = 1; } } elsif ( $option eq 'blacklist' ) { - $value = BL_IN unless ( defined $value && $value != '' ); + $value = BL_IN unless ( defined $value && $value ne '' ); fatal_error "Invalid 'blacklist' value ( $value )" unless $value =~ /^[12]$/; $options{blacklist} = $value eq 1 ? BL_IN | BL_OUT : BL_OUT; $hostoptions{blacklist} = $options{blacklist} & BL_IN;