mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-10 23:58:14 +01:00
Only issue one 'unreachable' warning per chain.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
6b67f2698d
commit
c653d9ce83
@ -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";
|
||||
warning_message "Any rules generated by this entry are unreachable and will therefore be discarded" unless $chainref->{unreachable_warned}++;
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user