Skip to content

Commit

Permalink
zebra: display ptmStatus order in interface json
Browse files Browse the repository at this point in the history
Display ptmStatus in correct order in show interface json
output.

Signed-off-by: Sindhu Parvathi Gopinathan's <[email protected]>
(cherry picked from commit aa6dab0)
  • Loading branch information
Sindhu Parvathi Gopinathan authored and mergify[bot] committed Oct 30, 2023
1 parent 21d11fe commit 1c46099
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zebra/interface.c
Original file line number Diff line number Diff line change
Expand Up @@ -2351,7 +2351,7 @@ static void if_dump_vty_json(struct vty *vty, struct interface *ifp,
json_object_string_add(json_if, "lastLinkDown",
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);

Expand Down

0 comments on commit 1c46099

Please sign in to comment.