diff options
| author | Sindhu Parvathi Gopinathan <sgopinathan@nvidia.com> | 2022-08-24 09:17:57 -0700 | 
|---|---|---|
| committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2023-10-30 06:31:43 +0000 | 
| commit | 1c4609980649a543e9dcd45dbc34efb3c6f78207 (patch) | |
| tree | 9e67794bce51d5c3f06c8b7626c202b7f9bec99b | |
| parent | 21d11fe1c6b389dc401d946842370be1eabaf1ad (diff) | |
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>
(cherry picked from commit aa6dab0369b9ab90291f5596f6b23a4c0b226ed0)
| -rw-r--r-- | zebra/interface.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/interface.c b/zebra/interface.c index d5d488a057..952a1aca80 100644 --- a/zebra/interface.c +++ b/zebra/interface.c @@ -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);  | 
