Correct reference adjustment in new opt4 code

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2012-08-14 13:36:39 -07:00
parent 1f59e4f449
commit b132176dae

View File

@ -3018,8 +3018,8 @@ sub optimize_level4( $$ ) {
# #
# The rule target is a chain # The rule target is a chain
# #
add_reference( $chainref, $targetref ); add_reference( $sourceref, $targetref );
delete_reference( $sourceref, $targetref ); delete_reference( $chainref, $targetref );
} }
} }