mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 04:23:00 +00:00
Merge pull request #2690 from opensourcerouting/fix-srcdest-route-display
zebra: fix do_show_route_helper to include srcdest routes
This commit is contained in:
commit
86180eeeeb
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user