mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-09 05:50:50 +00:00
Merge pull request #9722 from chiragshah6/zdev
zebra: add nhg id to show ip route json
This commit is contained in:
commit
fd7abfa80b
@ -965,6 +965,7 @@ static void vty_show_ip_route(struct vty *vty, struct route_node *rn,
|
||||
json_object_int_add(json_route, "internalNextHopActiveNum",
|
||||
nexthop_group_active_nexthop_num(
|
||||
&(re->nhe->nhg)));
|
||||
json_object_int_add(json_route, "nexthopGroupId", re->nhe_id);
|
||||
|
||||
json_object_string_add(json_route, "uptime", up_str);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user