From: Igor Putovny Date: Fri, 20 Oct 2023 11:11:49 +0000 (+0200) Subject: Fix how bucket for new leaf nodes is chosen X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b18dea7c2383751f4a55e966c4cf3a7441f6958;p=thirdparty%2Fbird.git Fix how bucket for new leaf nodes is chosen --- diff --git a/proto/aggregator/aggregator.c b/proto/aggregator/aggregator.c index 3941dd941..a926cf274 100644 --- a/proto/aggregator/aggregator.c +++ b/proto/aggregator/aggregator.c @@ -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; }