mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-15 04:04:10 +01:00
Emit clearer error messages
This commit is contained in:
parent
239b4a2356
commit
330afe1701
@ -282,7 +282,7 @@ sub setup_blacklist() {
|
||||
$target ,
|
||||
'' );
|
||||
} else {
|
||||
warning_message 'Blacklist entry ignored because there are no "blacklist in" zones';
|
||||
warning_message '"src" entry ignored because there are no "blacklist in" zones';
|
||||
}
|
||||
}
|
||||
} elsif ( $_ =~ /^(?:dst|to)$/ ) {
|
||||
@ -302,7 +302,7 @@ sub setup_blacklist() {
|
||||
$target ,
|
||||
'' );
|
||||
} else {
|
||||
warning_message 'Blacklist entry ignored because there are no "blacklist out" zones';
|
||||
warning_message '"dst" entry ignored because there are no "blacklist out" zones';
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user