]> git.puffer.fish Git - mirror/frr.git/commitdiff
zebra: Add PBR to route_info array
authorStephen Worley <sworley@cumulusnetworks.com>
Mon, 29 Apr 2019 23:24:26 +0000 (19:24 -0400)
committerStephen Worley <sworley@cumulusnetworks.com>
Mon, 29 Apr 2019 23:24:26 +0000 (19:24 -0400)
Add PBR to the route_info array for handling processing
of the PBR route type.

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

index 4cf4c24060106c6867b591f0877257dd8b9f3f3c..231a49751c81dd79f6d88776af7f9991450d70f3 100644 (file)
@@ -98,6 +98,7 @@ static const struct {
        [ZEBRA_ROUTE_BGP_DIRECT_EXT] = {ZEBRA_ROUTE_BGP_DIRECT_EXT, 20, 3},
        [ZEBRA_ROUTE_BABEL] = {ZEBRA_ROUTE_BABEL, 100, 2},
        [ZEBRA_ROUTE_SHARP] = {ZEBRA_ROUTE_SHARP, 150, 4},
+       [ZEBRA_ROUTE_PBR] = {ZEBRA_ROUTE_PBR, 200, 4},
 
        /* no entry/default: 150 */
 };