]> git.puffer.fish Git - mirror/frr.git/commitdiff
zebra: Comment to ensure types added to route_info 4226/head
authorStephen Worley <sworley@cumulusnetworks.com>
Tue, 30 Apr 2019 14:07:45 +0000 (10:07 -0400)
committerStephen Worley <sworley@cumulusnetworks.com>
Tue, 30 Apr 2019 14:07:45 +0000 (10:07 -0400)
Add a comment to indicate that route types added to
Zebra, should also be present in the route_info array.

Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
zebra/zebra_rib.c

index 6d1be08f02ef59e591a7b54a043ce8c6dfc69909..16b5f555fc54f8cfce50e2037c3d9adf597d1f03 100644 (file)
@@ -101,6 +101,7 @@ static const struct {
        [ZEBRA_ROUTE_PBR] = {ZEBRA_ROUTE_PBR, 200, 4},
        [ZEBRA_ROUTE_BFD] = {ZEBRA_ROUTE_BFD, 255, 4},
        [ZEBRA_ROUTE_OPENFABRIC] = {ZEBRA_ROUTE_OPENFABRIC, 115, 2},
+       /* Any new route type added to zebra, should be mirrored here */
 
        /* no entry/default: 150 */
 };