From 6b94500dba2e46409c0e4fcca8b39ab9f7cb6c2f Mon Sep 17 00:00:00 2001 From: Abhishek N R Date: Sun, 25 Sep 2022 23:58:51 -0700 Subject: [PATCH] pim6d: Adding last member query count field in "show ipv6 mld interface [ifname] json" command. Fixes: #12004 Signed-off-by: Abhishek N R --- pimd/pim6_mld.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pimd/pim6_mld.c b/pimd/pim6_mld.c index ee5c715eae..23042ef14e 100644 --- a/pimd/pim6_mld.c +++ b/pimd/pim6_mld.c @@ -2430,6 +2430,8 @@ static void gm_show_if_one(struct vty *vty, struct interface *ifp, gm_ifp->t_other_querier); json_object_int_add(js_if, "timerRobustnessValue", gm_ifp->cur_qrv); + json_object_int_add(js_if, "lastMemberQueryCount", + gm_ifp->cur_lmqc); json_object_int_add(js_if, "timerQueryIntervalMsec", gm_ifp->cur_query_intv); json_object_int_add(js_if, "timerQueryResponseTimerMsec", -- 2.39.5