mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2025-01-18 15:01:53 +00:00
Fix aggregator_bucket_unionize()
The last two while loops were incorrectly placed inside the first while loop
This commit is contained in:
parent
9954b24f57
commit
26ac6dca5c
@ -323,6 +323,7 @@ aggregator_bucket_unionize(struct trie_node *node, const struct trie_node *left,
|
||||
default:
|
||||
bug("Impossible");
|
||||
}
|
||||
}
|
||||
|
||||
while (i < left->potential_buckets_count)
|
||||
{
|
||||
@ -346,7 +347,6 @@ aggregator_bucket_unionize(struct trie_node *node, const struct trie_node *left,
|
||||
j++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Check if sets of potential buckets of two nodes are disjoint
|
||||
|
Loading…
Reference in New Issue
Block a user