]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Bugfix
authorIgor Putovny <igor.putovny@nic.cz>
Thu, 27 Feb 2025 16:22:09 +0000 (17:22 +0100)
committerIgor Putovny <igor.putovny@nic.cz>
Thu, 27 Feb 2025 16:23:00 +0000 (17:23 +0100)
Do not delete selected bucket during deaggregation, it will be needed
in the third pass for route withdrawal

proto/aggregator/trie.c

index fc4d6eeb88a6a1a37b8ac9c7cb5bb488ebdd2f7c..74b74c7267f3da4f6af222d4c5fcc90980db4469 100644 (file)
@@ -845,7 +845,6 @@ aggregator_deaggregate(struct trie_node *node)
   ASSERT_DIE(node != NULL);
 
   /* Delete results computed by aggregation algorithm */
-  node->selected_bucket = NULL;
   node->ancestor = NULL;
   node->potential_buckets_count = 0;
   memset(node->potential_buckets, 0, sizeof(node->potential_buckets));