From bc391be2d5f13e7a2b82fd0991aeab0b9e27565b Mon Sep 17 00:00:00 2001 From: Igor Putovny Date: Fri, 14 Feb 2025 17:12:25 +0100 Subject: [PATCH] Rename --- proto/aggregator/aggregator.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/proto/aggregator/aggregator.c b/proto/aggregator/aggregator.c index 1572b6737..473401bb4 100644 --- a/proto/aggregator/aggregator.c +++ b/proto/aggregator/aggregator.c @@ -1054,7 +1054,7 @@ merge_buckets_above(struct trie_node *node) } static void -trie_process_update(struct aggregator_proto *p, struct aggregator_route *old UNUSED, struct aggregator_route *new) +aggregator_process_update(struct aggregator_proto *p, struct aggregator_route *old UNUSED, struct aggregator_route *new) { assert(p != NULL); assert(new != NULL); @@ -1112,7 +1112,7 @@ trie_process_update(struct aggregator_proto *p, struct aggregator_route *old UNU } static void -trie_process_withdraw(struct aggregator_proto *p, struct aggregator_route *old) +aggregator_process_withdraw(struct aggregator_proto *p, struct aggregator_route *old) { assert(p != NULL); assert(old != NULL); @@ -1835,12 +1835,12 @@ aggregator_rt_notify(struct proto *P, struct channel *src_ch, net *net, rte *new else if (!old && new) log("rt notify: announce"); - trie_process_update(p, old_route, new_route); + aggregator_process_update(p, old_route, new_route); } else if (old && !new) { log("rt notify: withdraw"); - trie_process_withdraw(p, old_route); + aggregator_process_withdraw(p, old_route); } /* Process all route withdrawals which were caused by the update */ -- 2.47.2