mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2025-01-18 06:51:54 +00:00
Fix how bucket for new leaf nodes is chosen
This commit is contained in:
parent
f7e3a3f0a0
commit
4bcf7ac37f
@ -200,8 +200,8 @@ first_pass(struct trie_node *node, slab *trie_slab)
|
||||
|
||||
if (is_leaf(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++] = get_ancestor_bucket(node);
|
||||
node->potential_buckets[node->potential_buckets_count++] = node->bucket;
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user