]> git.puffer.fish Git - mirror/frr.git/commitdiff
zebra: update zebra_rib for vrrp
authorQuentin Young <qlyoung@cumulusnetworks.com>
Thu, 2 May 2019 17:22:42 +0000 (17:22 +0000)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Fri, 17 May 2019 00:27:08 +0000 (00:27 +0000)
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 <qlyoung@cumulusnetworks.com>
lib/route_types.txt
zebra/zebra_rib.c

index 6c46fa89e37c543155397cc357187f48d8c51d1b..59f3a91cf0f5c9d4e2b6732358688ea5c3098875 100644 (file)
@@ -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"
index 8d4f49e3ee7647763f2059593e586a266d2a4dd3..3b305f6e3d853efcd54272ba6775162ed62fb85c 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},
+       [ZEBRA_ROUTE_VRRP] = {ZEBRA_ROUTE_VRRP, 255, 4}
        /* Any new route type added to zebra, should be mirrored here */
 
        /* no entry/default: 150 */