mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-13 05:06:55 +02:00
Issue a warning when a rule is dropped do to terminated chain.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
e405ab80bf
commit
a550dd3eed
@ -7062,7 +7062,10 @@ sub expand_rule( $$$$$$$$$$$;$ )
|
|||||||
$logname, # Name of chain to name in log messages
|
$logname, # Name of chain to name in log messages
|
||||||
) = @_;
|
) = @_;
|
||||||
|
|
||||||
return '' if $chainref->{complete};
|
if ( $chainref->{complete} ) {
|
||||||
|
warning_message "Chain $chainref->{name} is complete - unreachable netfilter rule(s) discarded";
|
||||||
|
return '';
|
||||||
|
}
|
||||||
|
|
||||||
my ( $iiface, $diface, $inets, $dnets, $iexcl, $dexcl, $onets , $oexcl, $trivialiexcl, $trivialdexcl ) =
|
my ( $iiface, $diface, $inets, $dnets, $iexcl, $dexcl, $onets , $oexcl, $trivialiexcl, $trivialdexcl ) =
|
||||||
( '', '', '', '', '', '', '', '', '', '' );
|
( '', '', '', '', '', '', '', '', '', '' );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user