summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bgpd/bgp_route.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c
index 91f3eaa30d..c15ce7d9aa 100644
--- a/bgpd/bgp_route.c
+++ b/bgpd/bgp_route.c
@@ -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));