From c9591045cc968762a15631ec466872c43c171f54 Mon Sep 17 00:00:00 2001 From: Christian Franke Date: Thu, 19 Jul 2018 15:16:06 -0400 Subject: [PATCH] zebra: fix do_show_route_helper to include srcdest routes --- zebra/zebra_vty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zebra/zebra_vty.c b/zebra/zebra_vty.c index 55c4f6e916..8a37e1df22 100644 --- a/zebra/zebra_vty.c +++ b/zebra/zebra_vty.c @@ -1651,7 +1651,7 @@ static void do_show_route_helper(struct vty *vty, struct zebra_vrf *zvrf, json = json_object_new_object(); /* Show all routes. */ - for (rn = route_top(table); rn; rn = route_next(rn)) { + for (rn = route_top(table); rn; rn = srcdest_route_next(rn)) { dest = rib_dest_from_rnode(rn); RNODE_FOREACH_RE (rn, re) { -- 2.39.5