diff options
| author | Stephen Worley <sworley@cumulusnetworks.com> | 2019-04-30 10:07:45 -0400 |
|---|---|---|
| committer | Stephen Worley <sworley@cumulusnetworks.com> | 2019-04-30 10:07:45 -0400 |
| commit | d6abd8b070fd717c4b7acda6d0fe5bd9ee6e0921 (patch) | |
| tree | 6880daaec6c3184ebbae313931016e9463d82a04 | |
| parent | eab7b6e371638e34b8c477de8c47628f12721c9d (diff) | |
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 <sworley@cumulusnetworks.com>
| -rw-r--r-- | zebra/zebra_rib.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 */ }; |
