mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-29 21:23:06 +00:00
Merge pull request #12684 from chiragshah6/fdev2
bgpd: evpn route detail json display non prett
This commit is contained in:
commit
88bcd9f7ae
@ -4807,8 +4807,15 @@ DEFUN(show_bgp_l2vpn_evpn_route,
|
|||||||
|
|
||||||
evpn_show_all_routes(vty, bgp, type, json, detail);
|
evpn_show_all_routes(vty, bgp, type, json, detail);
|
||||||
|
|
||||||
if (uj)
|
if (uj) {
|
||||||
vty_json(vty, json);
|
if (detail) {
|
||||||
|
vty_out(vty, "%s\n", json_object_to_json_string(json));
|
||||||
|
json_object_free(json);
|
||||||
|
} else {
|
||||||
|
vty_json(vty, json);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return CMD_SUCCESS;
|
return CMD_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user