mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 12:44:55 +00:00
zebra: display ptmStatus order in interface json
Display ptmStatus in correct order in show interface json output. Signed-off-by: Sindhu Parvathi Gopinathan's <sgopinathan@nvidia.com>
This commit is contained in:
parent
539124f13c
commit
aa6dab0369
@ -3133,7 +3133,7 @@ static void if_dump_vty_json(struct vty *vty, struct interface *ifp,
|
|||||||
json_object_string_add(json_if, "lastLinkDown",
|
json_object_string_add(json_if, "lastLinkDown",
|
||||||
zebra_if->down_last);
|
zebra_if->down_last);
|
||||||
|
|
||||||
zebra_ptm_show_status(vty, json, ifp);
|
zebra_ptm_show_status(vty, json_if, ifp);
|
||||||
|
|
||||||
json_object_string_add(json_if, "vrfName", ifp->vrf->name);
|
json_object_string_add(json_if, "vrfName", ifp->vrf->name);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user