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:
Tom Eastep 2011-07-23 07:30:56 -07:00
parent 567993292f
commit 3d616980a6

View File

@ -715,8 +715,8 @@ sub clear_rule_target( $ ) {
assert( reftype $ruleref );
delete $ruleref->{jump};
delete $ruleref->{target};
delete $ruleref->{targetopts};
$ruleref->{target} = '';
1;
}