mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-11 03:35:06 +00:00
Merge pull request #12571 from Shikugawa/ospfd-json
ospfd: show ospf database info using formatted json
This commit is contained in:
commit
aca2d29f1e
@ -7183,10 +7183,8 @@ DEFUN (show_ip_ospf_database_max,
|
||||
use_vrf, json, uj);
|
||||
}
|
||||
|
||||
if (uj) {
|
||||
vty_out(vty, "%s\n", json_object_to_json_string(json));
|
||||
json_object_free(json);
|
||||
}
|
||||
if (uj)
|
||||
vty_json(vty, json);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user