]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Fix how bucket for new leaf nodes is chosen
authorIgor Putovny <igor.putovny@nic.cz>
Fri, 20 Oct 2023 11:11:49 +0000 (13:11 +0200)
committerIgor Putovny <igor.putovny@nic.cz>
Fri, 20 Oct 2023 11:11:49 +0000 (13:11 +0200)
proto/aggregator/aggregator.c

index 3941dd941c469515c09e8c2f4afd45ebd0ffb0b2..a926cf274ec1407b39b9d9da92cd850e18cc5a68 100644 (file)
@@ -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;
   }