]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: Prevent installation for a nexthop vrf that is not configed yet
authorDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 27 Mar 2018 18:50:41 +0000 (14:50 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 27 Mar 2018 19:52:26 +0000 (15:52 -0400)
commit049e899eb29e0d189c2b833be6bd37b15189b457
tree9a4b8639bdde7590f28418c489eb74185204e730
parentd583db98be91bc53f3a3ab0113230204d5a05a97
zebra: Prevent installation for a nexthop vrf that is not configed yet

There are many callpaths to get to static_install_route.  The nexthops
each have their own vrf that may or may not be up yet.  If it is
allow the installation.

Doing this check here to avoid having to add this all over the place.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
zebra/zebra_static.c