diff options
| author | Sindhu Parvathi Gopinathan <sgopinathan@nvidia.com> | 2022-08-24 09:17:57 -0700 | 
|---|---|---|
| committer | Chirag Shah <chirag@nvidia.com> | 2023-10-29 18:06:55 -0700 | 
| commit | aa6dab0369b9ab90291f5596f6b23a4c0b226ed0 (patch) | |
| tree | b9c829c002198970a6c05fe319827ea3f41d8fa1 /zebra/interface.c | |
| parent | 539124f13cc2c43e38ff0e0d67476a7d4fd3d072 (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>
Diffstat (limited to 'zebra/interface.c')
| -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 919cd11bc8..1afd9d5a7d 100644 --- a/zebra/interface.c +++ b/zebra/interface.c @@ -3133,7 +3133,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);  | 
