]> git.puffer.fish Git - mirror/frr.git/commit
zebra: Fix nhg ifindex setting and checking
authorStephen Worley <sworley@cumulusnetworks.com>
Mon, 22 Apr 2019 19:42:10 +0000 (15:42 -0400)
committerStephen Worley <sworley@cumulusnetworks.com>
Fri, 25 Oct 2019 15:13:40 +0000 (11:13 -0400)
commita6e6a6d825f98ecd3c074dfa473aec2d5da4cdb1
treec0ebf2d5896cbfc3ca33e418db6f20088bce2225
parente22e80010ee4226cbb4c1cb570d520ff071add89
zebra: Fix nhg ifindex setting and checking

We were only setting and checking the ifindex if
the nexthop had an *_IFINDEX type. However, when nexthop
active checking is done, the non-*_IFINDEX types can also
obtain a nexthop with an ifindex and are thus valid too.

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