mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-23 10:11:53 +00:00
Fix how bucket for new leaf nodes is chosen
This commit is contained in:
parent
98621a741a
commit
2b18dea7c2
@ -200,8 +200,8 @@ first_pass(struct trie_node *node, slab *trie_slab)
|
|||||||
|
|
||||||
if (is_leaf(node))
|
if (is_leaf(node))
|
||||||
{
|
{
|
||||||
node->potential_buckets[node->potential_buckets_count++] = get_ancestor_bucket(node);
|
//node->potential_buckets[node->potential_buckets_count++] = get_ancestor_bucket(node);
|
||||||
//node->potential_buckets[node->potential_buckets_count++] = node->bucket;
|
node->potential_buckets[node->potential_buckets_count++] = node->bucket;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user