mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-11 16:39:33 +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);
|
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