]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Bugfix
authorIgor Putovny <igor.putovny@nic.cz>
Thu, 27 Feb 2025 16:03:14 +0000 (17:03 +0100)
committerIgor Putovny <igor.putovny@nic.cz>
Thu, 27 Feb 2025 16:03:14 +0000 (17:03 +0100)
When removing prefix from the trie, prefix node can still be IN_FIB and
it will be a filler because it is no longer original.

proto/aggregator/trie.c

index c97e477b5d29dd02560d727c8c2e090c1e8bfdc6..dd555c5617ed9d5d068be658dff88f75bc383087 100644 (file)
@@ -554,8 +554,6 @@ aggregator_second_pass(struct trie_node *node)
   if (aggregator_is_leaf(node))
   {
     ASSERT_DIE(node->original_bucket != NULL);
-    ASSERT_DIE(node->status == NON_FIB);
-    ASSERT_DIE(node->px_origin == ORIGINAL);
     ASSERT_DIE(node->potential_buckets_count == 0);
     aggregator_node_add_potential_bucket(node, node->original_bucket);
     return;