mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 16:04:49 +00:00
A valid BGP nexthop is flagged as invalid
This commit is contained in:
parent
ca84c8efc3
commit
0e5c866a48
@ -615,7 +615,8 @@ send_client (struct rnh *rnh, struct zserv *client)
|
||||
nump = stream_get_endp(s);
|
||||
stream_putc (s, 0);
|
||||
for (nexthop = rib->nexthop; nexthop; nexthop = nexthop->next)
|
||||
if (CHECK_FLAG (nexthop->flags, NEXTHOP_FLAG_FIB) &&
|
||||
if ((CHECK_FLAG (nexthop->flags, NEXTHOP_FLAG_FIB) ||
|
||||
CHECK_FLAG (nexthop->flags, NEXTHOP_FLAG_RECURSIVE)) &&
|
||||
CHECK_FLAG (nexthop->flags, NEXTHOP_FLAG_ACTIVE))
|
||||
{
|
||||
stream_putc (s, nexthop->type);
|
||||
|
Loading…
Reference in New Issue
Block a user