mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 16:04:49 +00:00
zebra: Fix multiple levels of static recursion
Allow the nexthop-check code to figure out recursive static routes in a logical manner. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
77d9c92609
commit
6c47d39902
@ -608,6 +608,9 @@ static int nexthop_active(afi_t afi, struct route_entry *re,
|
||||
if (!CHECK_FLAG(match->status,
|
||||
ROUTE_ENTRY_INSTALLED))
|
||||
continue;
|
||||
if (CHECK_FLAG(newhop->flags,
|
||||
NEXTHOP_FLAG_RECURSIVE))
|
||||
continue;
|
||||
|
||||
if (set) {
|
||||
SET_FLAG(nexthop->flags,
|
||||
|
Loading…
Reference in New Issue
Block a user