From 0ad40d16159ff61febd1d884d035dfd8fa47873b Mon Sep 17 00:00:00 2001 From: Stephen Worley Date: Thu, 8 Aug 2019 16:03:39 -0400 Subject: [PATCH] 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 --- zebra/zebra_vty.c | 1 + 1 file changed, 1 insertion(+) diff --git a/zebra/zebra_vty.c b/zebra/zebra_vty.c index 2ec24466f3..6396e1c820 100644 --- a/zebra/zebra_vty.c +++ b/zebra/zebra_vty.c @@ -260,6 +260,7 @@ static void vty_show_ip_route_detail(struct vty *vty, struct route_node *rn, tm->tm_hour); vty_out(vty, " ago\n"); + vty_out(vty, " Nexthop Group ID: %u\n", re->nhe_id); for (ALL_NEXTHOPS_PTR(re->ng, nexthop)) { char addrstr[32];