summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2022-09-27 08:42:11 +0200
committerGitHub <noreply@github.com>2022-09-27 08:42:11 +0200
commit77c5f1b936abacc7fe988ee607795870fb514e90 (patch)
treec9b8fc164037218880ffa4abe8a29cf74d162987
parentMerge pull request #12002 from opensourcerouting/fix/add_doc_missing_bgp_impl... (diff)
parentpim6d: Adding last member query count field in "show ipv6 mld interface [ifna... (diff)
downloadfrr-77c5f1b936abacc7fe988ee607795870fb514e90.tar.xz
frr-77c5f1b936abacc7fe988ee607795870fb514e90.zip
Merge pull request #12009 from AbhishekNR/json_last-member-query-count
pim6d: Adding last member query count field in "show ipv6 mld interface [ifname] json" command.
-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 ee5c715ea..23042ef14 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",