Merge pull request #14684 from FRRouting/mergify/bp/dev/9.1/pr-14681

zebra: display ptmStatus order in interface json (backport #14681)
This commit is contained in:
Donald Sharp 2023-10-30 15:37:52 -04:00 committed by GitHub
commit ed9b079a80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);