0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-23 02:01:55 +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 */ /* Preorder traversal */
first_pass(node->child[0], trie_slab); first_pass(node->child[0], trie_slab);
first_pass(node->child[1], trie_slab); first_pass(node->child[1], trie_slab);
/* Discard bucket in interior nodes */
node->bucket = NULL;
} }
/* /*