]> git.proxmox.com Git - mirror_frr.git/blobdiff - zebra/zebra_rib.c
zebra: Kernel routes w/ AD were not being marked as installed
[mirror_frr.git] / zebra / zebra_rib.c
index 051d7f523135888ddb331a6254c6a8d82e45d5d8..0200ef2a5e0b88207b8299400d39123dea2a7603 100644 (file)
@@ -1075,7 +1075,8 @@ static void rib_process(struct route_node *rn)
                }
 
                /* Infinite distance. */
-               if (re->distance == DISTANCE_INFINITY) {
+               if (re->distance == DISTANCE_INFINITY &&
+                   re->type != ZEBRA_ROUTE_KERNEL) {
                        UNSET_FLAG(re->status, ROUTE_ENTRY_CHANGED);
                        continue;
                }