From: Quentin Young Date: Thu, 2 May 2019 17:22:42 +0000 (+0000) Subject: zebra: update zebra_rib for vrrp X-Git-Tag: base_7.2~330^2~6 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=303b93cdee4c2f2d7966b4bf92fb46ca0feb35d7;p=matthieu%2Ffrr.git zebra: update zebra_rib for vrrp VRRP doesn't install any routes, but should still have an array entry. Also add a help string for VRRP to route_types.txt Signed-off-by: Quentin Young --- diff --git a/lib/route_types.txt b/lib/route_types.txt index 6c46fa89e3..59f3a91cf0 100644 --- a/lib/route_types.txt +++ b/lib/route_types.txt @@ -111,4 +111,5 @@ ZEBRA_ROUTE_BABEL, "Babel routing protocol (Babel)" ZEBRA_ROUTE_SHARP, "Super Happy Advanced Routing Protocol (sharpd)" ZEBRA_ROUTE_PBR, "Policy Based Routing (PBR)" ZEBRA_ROUTE_BFD, "Bidirectional Fowarding Detection (BFD)" +ZEBRA_ROUTE_VRRP, "Virtual Router Redundancy Protocol (VRRP)" ZEBRA_ROUTE_OPENFABRIC, "OpenFabric Routing Protocol" diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c index 8d4f49e3ee..3b305f6e3d 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}, + [ZEBRA_ROUTE_VRRP] = {ZEBRA_ROUTE_VRRP, 255, 4} /* Any new route type added to zebra, should be mirrored here */ /* no entry/default: 150 */