forked from extern/shorewall_code
Fix optimization bug in merge_rules()
- Reset the simple member if a unique option is merged Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
4949569383
commit
f537e3e15c
@ -1218,6 +1218,7 @@ sub merge_rules( $$$ ) {
|
||||
if ( exists $fromref->{$option} ) {
|
||||
push( @{$toref->{matches}}, $option ) unless exists $toref->{$option};
|
||||
$toref->{$option} = $fromref->{$option};
|
||||
$toref->{simple} = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user