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:38 +0000 |
| commit | ebaa0621690a228c4ed507ef0afe13848aa652df (patch) | |
| tree | 79a166ccec585e89d11f3442fe6aaa7be520d143 | |
| parent | 66ef808bb4b73ff9cfdd4a409282431666f15929 (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 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); |
