From aa6dab0369b9ab90291f5596f6b23a4c0b226ed0 Mon Sep 17 00:00:00 2001 From: Sindhu Parvathi Gopinathan Date: Wed, 24 Aug 2022 09:17:57 -0700 Subject: [PATCH] zebra: display ptmStatus order in interface json Display ptmStatus in correct order in show interface json output. Signed-off-by: Sindhu Parvathi Gopinathan's --- zebra/interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);