mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-06-14 04:07:36 +00:00
ospfd: show ospf database info using formatted json
Signed-off-by: Rei Shimizu <rshimizu@apache.org>
This commit is contained in:
parent
7126fa3d66
commit
ff68181eda
@ -7183,10 +7183,8 @@ DEFUN (show_ip_ospf_database_max,
|
|||||||
use_vrf, json, uj);
|
use_vrf, json, uj);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (uj) {
|
if (uj)
|
||||||
vty_out(vty, "%s\n", json_object_to_json_string(json));
|
vty_json(vty, json);
|
||||||
json_object_free(json);
|
|
||||||
}
|
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user