mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-29 19:13:39 +01:00
Set empty target in rules created via add_irule()
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
e693665be1
commit
f2c9647579
@ -1032,6 +1032,8 @@ sub push_irule( $$$;@ ) {
|
||||
$ruleref->{jump} = $jump;
|
||||
$ruleref->{target} = $target;
|
||||
$ruleref->{targetopts} = $targetopts if $targetopts;
|
||||
} else {
|
||||
$ruleref->{target} = '';
|
||||
}
|
||||
|
||||
if ( $comment ) {
|
||||
|
Loading…
Reference in New Issue
Block a user