Skip to content

Commit b732ad2

Browse files
committed
zebra: Add nexthop group id to route dump
The `show ip zebra route dump" command is not displaying the nexthop group id number. Add that in. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
1 parent 3480d38 commit b732ad2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

zebra/zebra_vty.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2167,6 +2167,7 @@ static void show_ip_route_dump_vty(struct vty *vty, struct route_table *table, a
21672167
tm.tm_hour);
21682168

21692169
vty_out(vty, " status: %u\n", re->status);
2170+
vty_out(vty, " nexthop_group_id: %u\n", re->nhe->id);
21702171
vty_out(vty, " nexthop_num: %u\n",
21712172
nexthop_group_nexthop_num(&(re->nhe->nhg)));
21722173
vty_out(vty, " nexthop_active_num: %u\n",

0 commit comments

Comments
 (0)