mirror of
https://gitlab.com/shorewall/code.git
synced 2025-02-19 03:01:10 +01:00
Add dup blacklist message
This commit is contained in:
parent
10a9ae496a
commit
4d0e8d129b
@ -975,6 +975,7 @@ sub process_interface( $$ ) {
|
||||
$options{arp_ignore} = 1;
|
||||
}
|
||||
} elsif ( $option eq 'blacklist' ) {
|
||||
fatal_error "Duplicate blacklist option" if $options{blacklist};
|
||||
$value = BL_IN unless ( defined $value && $value ne '' );
|
||||
fatal_error "Invalid 'blacklist' value ( $value )" unless $value =~ /^[12]$/;
|
||||
$options{blacklist} = $value;
|
||||
|
Loading…
Reference in New Issue
Block a user