mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-17 21:38:11 +00:00
ospfd: print maximum paths in show ip ospf json
Signed-off-by: ckishimo <carles.kishimoto@gmail.com>
This commit is contained in:
parent
f61b005a0b
commit
0b17753880
@ -3272,6 +3272,10 @@ static int show_ip_ospf_common(struct vty *vty, struct ospf *ospf,
|
|||||||
json_object_int_add(json_vrf, "refreshTimerMsecs",
|
json_object_int_add(json_vrf, "refreshTimerMsecs",
|
||||||
ospf->lsa_refresh_interval * 1000);
|
ospf->lsa_refresh_interval * 1000);
|
||||||
|
|
||||||
|
/* show max multipath */
|
||||||
|
json_object_int_add(json_vrf, "maximumPaths",
|
||||||
|
ospf->max_multipath);
|
||||||
|
|
||||||
/* show administrative distance */
|
/* show administrative distance */
|
||||||
json_object_int_add(json_vrf, "preference",
|
json_object_int_add(json_vrf, "preference",
|
||||||
ospf->distance_all
|
ospf->distance_all
|
||||||
|
Loading…
Reference in New Issue
Block a user