mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-06-15 13:30:21 +00:00
zebra_rib: Revert work-around for zebra marking recursive static route as inactive.
This commit is contained in:
parent
8f26ef2c68
commit
22afbf9446
@ -436,13 +436,7 @@ nexthop_active_ipv4 (struct rib *rib, struct nexthop *nexthop, int set,
|
|||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
else if (CHECK_FLAG (rib->flags, ZEBRA_FLAG_INTERNAL) ||
|
else if (CHECK_FLAG (rib->flags, ZEBRA_FLAG_INTERNAL))
|
||||||
match->type == ZEBRA_ROUTE_KERNEL)
|
|
||||||
/*
|
|
||||||
|| match->type == ZEBRA_ROUTE_KERNEL
|
|
||||||
This prevents zebra from marking recursive static route as inactive.
|
|
||||||
See pimd/TODO T26.
|
|
||||||
*/
|
|
||||||
{
|
{
|
||||||
resolved = 0;
|
resolved = 0;
|
||||||
for (newhop = match->nexthop; newhop; newhop = newhop->next)
|
for (newhop = match->nexthop; newhop; newhop = newhop->next)
|
||||||
|
Loading…
Reference in New Issue
Block a user