mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-11-01 12:47:16 +00:00
bgpd: fix IPv6 next-hop field name for routes in JSON
This may break existing clients but the original name contains two errors. Signed-off-by: Vincent Bernat <vincent@bernat.ch>
This commit is contained in:
parent
c9e3c7bfb2
commit
aa0a10fca2
@ -6851,7 +6851,7 @@ void route_vty_out_tmp(struct vty *vty, struct prefix *p, struct attr *attr,
|
||||
char buf[BUFSIZ];
|
||||
|
||||
json_object_string_add(
|
||||
json_net, "netHopGloabal",
|
||||
json_net, "nextHopGlobal",
|
||||
inet_ntop(AF_INET6,
|
||||
&attr->mp_nexthop_global, buf,
|
||||
BUFSIZ));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user