]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Bugfix
authorIgor Putovny <igor.putovny@nic.cz>
Mon, 10 Feb 2025 15:12:02 +0000 (16:12 +0100)
committerIgor Putovny <igor.putovny@nic.cz>
Mon, 10 Feb 2025 15:12:02 +0000 (16:12 +0100)
Export new route when node status is changing from NON_FIB or UNASSIGNED to IN_FIB

proto/aggregator/aggregator.c

index dc4b11785258fe06c76d7ac5dbd6798271c3cc37..b020c1364e203b5e318a94fc70fd735438355080 100644 (file)
@@ -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);