From d6abd8b070fd717c4b7acda6d0fe5bd9ee6e0921 Mon Sep 17 00:00:00 2001 From: Stephen Worley Date: Tue, 30 Apr 2019 10:07:45 -0400 Subject: [PATCH] zebra: Comment to ensure types added to route_info 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 --- zebra/zebra_rib.c | 1 + 1 file changed, 1 insertion(+) diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c index 6d1be08f02..16b5f555fc 100644 --- a/zebra/zebra_rib.c +++ b/zebra/zebra_rib.c @@ -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 */ };