]> git.puffer.fish Git - mirror/frr.git/commit
staticd: Fix recursive routes for certain types of nexthops
authorDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 8 May 2018 14:58:30 +0000 (10:58 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Sun, 29 Jul 2018 16:37:26 +0000 (12:37 -0400)
commit88a9001659d75a3909f0ecaaca63b5bc74583a7d
tree54cf29d95b286d2bd50f0a327f51a1310629782d
parent9f2982ab69522e61dd2544dbd736aaad9749a224
staticd: Fix recursive routes for certain types of nexthops

Existing NEXTHOP_TYPE_IPV4_IFINDEX and NEXTHOP_TYPE_IPV6_IFINDEX
routes allow recursion, but were broken when the route happened
to recursively resolve and the resolution nexthop changed.

This commit fixes this issue.  Please note that this issue was
in pre-move of static route handling to it's own daemon as well.
This was some easy low-hanging fruit, so to speak.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
staticd/static_nht.c
staticd/static_zebra.c