From fc3be7eb76c1c9b237ecfcbac7cdeb96a4a9149b Mon Sep 17 00:00:00 2001 From: Igor Putovny Date: Mon, 10 Feb 2025 16:12:02 +0100 Subject: [PATCH] Bugfix Export new route when node status is changing from NON_FIB or UNASSIGNED to IN_FIB --- proto/aggregator/aggregator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proto/aggregator/aggregator.c b/proto/aggregator/aggregator.c index dc4b11785..b020c1364 100644 --- a/proto/aggregator/aggregator.c +++ b/proto/aggregator/aggregator.c @@ -772,7 +772,7 @@ third_pass_helper(struct aggregator_proto *p, struct trie_node *node, struct net * Prefix status is changing from NON_FIB to IN_FIB, thus its route * must be exported to the routing table. */ - if (NON_FIB == node->status) + if (NON_FIB == node->status || UNASSIGNED_STATUS == node->status) { log("Exporting %s route for %N", px_origin_str[node->px_origin], addr); create_route_ip4(p, addr, node->selected_bucket); -- 2.47.2