mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-19 08:07:13 +02:00
Remove questionable autocreate of an action in createlogactionchain()
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
8cbe26e32c
commit
ae5680401f
@ -1019,7 +1019,7 @@ sub createlogactionchain( $$$$$ ) {
|
|||||||
|
|
||||||
validate_level $level;
|
validate_level $level;
|
||||||
|
|
||||||
$actionref = new_action( $action , ACTION , 0 ) unless $actionref;
|
assert( $actionref );
|
||||||
|
|
||||||
$chain = substr $chain, 0, 28 if ( length $chain ) > 28;
|
$chain = substr $chain, 0, 28 if ( length $chain ) > 28;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user