mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-08 12:18:42 +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))
|
||||
{
|
||||
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