mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-04 11:33:48 +00:00
bgpd: Display interface next-hop for "show ip bgp" with unnumbered
Found that the logic had been changed to determine whether the next-hop is a v4 or v6 address. This caused an unnumbered interface to be seen as ipv4 instead of ipv6 so the swp port was not correctly displayed. Changed it back. Manual testing attaced to the ticket and bgp-min will be run before committing. Ticket: CM-12759 Signed-off-by: Don Slice Reviewed-by: CCR-5166
This commit is contained in:
parent
dcaf0c593f
commit
f81e127ed1
@ -5922,7 +5922,7 @@ route_vty_out (struct vty *vty, struct prefix *p,
|
||||
vty_out(vty, "?");
|
||||
}
|
||||
/* IPv4 Next Hop */
|
||||
else if (p->family == AF_INET || !BGP_ATTR_NEXTHOP_AFI_IP6(attr))
|
||||
else if (p->family == AF_INET && !BGP_ATTR_NEXTHOP_AFI_IP6(attr))
|
||||
{
|
||||
if (json_paths)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user