]> git.puffer.fish Git - matthieu/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>
Wed, 17 Feb 2021 12:06:20 +0000 (15:06 +0300)
commitcb3f5e1897dc94a840ff6158c8b3b85acf59657f
tree578b955afc1cc43a5ad9576e1a34669de8b12aea
parenteec2baa01a37162cfc7a8c319d43a9f9111eb276
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