summaryrefslogtreecommitdiff
path: root/pimd
diff options
context:
space:
mode:
authorAbhishek N R <abnr@vmware.com>2022-09-25 23:58:51 -0700
committerAbhishek N R <abnr@vmware.com>2022-09-26 00:10:58 -0700
commit6b94500dba2e46409c0e4fcca8b39ab9f7cb6c2f (patch)
treefeea24c2ef45d0c3470ebe397eb64f0d22be9693 /pimd
parent760863701e8c76f00982766e93222b8799ab9003 (diff)
pim6d: Adding last member query count field in "show ipv6 mld interface [ifname] json" command.
Fixes: #12004 Signed-off-by: Abhishek N R <abnr@vmware.com>
Diffstat (limited to 'pimd')
-rw-r--r--pimd/pim6_mld.c2
1 files changed, 2 insertions, 0 deletions
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",