]> git.puffer.fish Git - mirror/frr.git/commit
staticd: fix vrf enabling
authorIgor Ryzhov <iryzhov@nfware.com>
Wed, 17 Feb 2021 12:06:20 +0000 (15:06 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Fri, 26 Feb 2021 11:35:24 +0000 (14:35 +0300)
commitc628e94ff6fca2dd163746c2a9a11e6f4c1b220e
tree211dc196c7885feb408a9282df61ddf468303792
parent49b079ef1e492e09c101afd2159c07c502da9232
staticd: fix vrf enabling

When enabling the VRF, we should not install the nexthops that rely on
non-existent VRF.

For example, if we have route "1.1.1.0/24 2.2.2.2 vrf red nexthop-vrf blue",
and VRF red is enabled, we should not install it if VRF blue doesn't exist.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
staticd/static_routes.c