mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-15 04:04:10 +01:00
Include the chain name in the 'unreachable' warning.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
53f1cd40df
commit
cb132e2421
@ -6535,7 +6535,7 @@ sub unreachable_warning( $$ ) {
|
||||
my ( $ignore, $chainref ) = @_;
|
||||
unless ( $ignore ) {
|
||||
if ( $chainref->{complete} ) {
|
||||
warning_message "Any rules generated by this entry are unreachable and will therefore be discarded" unless $chainref->{unreachable_warned}++;
|
||||
warning_message "Unreachable rule(s) in chain $chainref->{name} have been discarded" unless $chainref->{unreachable_warned}++;
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user