0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-08 12:18:42 +00:00

Do not discard bucket from internal nodes

This commit is contained in:
Igor Putovny 2023-11-22 13:09:48 +01:00
parent 4a1f4e837d
commit fccb5140e2

View File

@ -211,9 +211,6 @@ first_pass(struct trie_node *node, slab *trie_slab)
/* Preorder traversal */
first_pass(node->child[0], trie_slab);
first_pass(node->child[1], trie_slab);
/* Discard bucket in interior nodes */
node->bucket = NULL;
}
/*