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:
Vincent Bernat 2018-10-15 15:08:37 +02:00
parent c9e3c7bfb2
commit aa0a10fca2

View File

@ -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));