mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-22 21:48:39 +01:00
Reword the 'unreachable' warning.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
d8f53cc0a9
commit
81acedd1b3
@ -6526,12 +6526,11 @@ sub verify_address_variables() {
|
||||
#
|
||||
# Generate 'unreachable rule' message
|
||||
#
|
||||
|
||||
sub unreachable_warning( $$ ) {
|
||||
my ( $ignore, $chainref ) = @_;
|
||||
unless ( $ignore ) {
|
||||
if ( $chainref->{complete} ) {
|
||||
warning_message "The rule(s) generated by this entry are unreachable and have been discarded";
|
||||
warning_message "Any rules generated by this entry are unreachable and will therefore be discarded";
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user