mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-30 03:23:47 +01:00
Don't delete the {target} member in clear_rule_target() but instead set it to ''
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
567993292f
commit
3d616980a6
@ -715,8 +715,8 @@ sub clear_rule_target( $ ) {
|
|||||||
assert( reftype $ruleref );
|
assert( reftype $ruleref );
|
||||||
|
|
||||||
delete $ruleref->{jump};
|
delete $ruleref->{jump};
|
||||||
delete $ruleref->{target};
|
|
||||||
delete $ruleref->{targetopts};
|
delete $ruleref->{targetopts};
|
||||||
|
$ruleref->{target} = '';
|
||||||
|
|
||||||
1;
|
1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user