mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 11:25:41 +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();
|
json = json_object_new_object();
|
||||||
|
|
||||||
/* Show all routes. */
|
/* 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);
|
dest = rib_dest_from_rnode(rn);
|
||||||
|
|
||||||
RNODE_FOREACH_RE (rn, re) {
|
RNODE_FOREACH_RE (rn, re) {
|
||||||
|
Loading…
Reference in New Issue
Block a user