]> git.puffer.fish Git - mirror/frr.git/commit
staticd: fix nexthop validation
authorIgor Ryzhov <iryzhov@nfware.com>
Wed, 17 Feb 2021 10:06:56 +0000 (13:06 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Wed, 17 Feb 2021 11:17:25 +0000 (14:17 +0300)
commitddd455157e0a390601ecdfd1db0880ec34974965
tree20bae68b01210967643123018809ce09c2c527d2
parent9ee2ebdc825ea610270462c3b1d8044bb097fd29
staticd: fix nexthop validation

When checking for local connected address used as a nexthop gateway, we
should check nexthop VRF, not route VRF.

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