From b20380ade38c85eb407f156f651e79f3290c8ce5 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 (cherry picked from commit aa6dab0369b9ab90291f5596f6b23a4c0b226ed0) --- zebra/interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zebra/interface.c b/zebra/interface.c index 991c587997..efe39096b2 100644 --- a/zebra/interface.c +++ b/zebra/interface.c @@ -2273,7 +2273,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); -- 2.39.5