mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-15 03:27:25 +00:00
zebra: Add nhe_id to show ip route detailed
When querying for detailed route information, show the nexthop group id for its nh_hash_entry in the output before listing the nexthops. Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
This commit is contained in:
parent
df9069cd18
commit
0ad40d1615
@ -260,6 +260,7 @@ static void vty_show_ip_route_detail(struct vty *vty, struct route_node *rn,
|
|||||||
tm->tm_hour);
|
tm->tm_hour);
|
||||||
vty_out(vty, " ago\n");
|
vty_out(vty, " ago\n");
|
||||||
|
|
||||||
|
vty_out(vty, " Nexthop Group ID: %u\n", re->nhe_id);
|
||||||
for (ALL_NEXTHOPS_PTR(re->ng, nexthop)) {
|
for (ALL_NEXTHOPS_PTR(re->ng, nexthop)) {
|
||||||
char addrstr[32];
|
char addrstr[32];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user