summaryrefslogtreecommitdiff
path: root/pimd/pim6_cmd.c
diff options
context:
space:
mode:
authorSai Gomathi N <nsaigomathi@vmware.com>2022-06-30 02:02:05 -0700
committerSai Gomathi N <nsaigomathi@vmware.com>2022-06-30 02:05:13 -0700
commit889d43b1e6a480f5afeb7d5092b7db053f833cac (patch)
tree44df22cb104691f045d61e9afb9825298384a251 /pimd/pim6_cmd.c
parent229a20e2adaadfce5a196428439d92c19d35711e (diff)
pim6d: Implementing mld watermark-warn CLI completely
Implementing the TBD of watermark-warn CLI for IPv6 MLD This command can be use to warn the user when more than the desired limit of groups gets configured. Signed-off-by: Sai Gomathi N <nsaigomathi@vmware.com>
Diffstat (limited to 'pimd/pim6_cmd.c')
-rw-r--r--pimd/pim6_cmd.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/pimd/pim6_cmd.c b/pimd/pim6_cmd.c
index a327525904..1a2829f962 100644
--- a/pimd/pim6_cmd.c
+++ b/pimd/pim6_cmd.c
@@ -686,9 +686,7 @@ DEFPY (ipv6_mld_group_watermark,
"Group count to generate watermark warning\n")
{
PIM_DECLVAR_CONTEXT_VRF(vrf, pim);
-
- /* TBD Depends on MLD data structure changes */
- (void)pim;
+ pim->gm_watermark_limit = limit;
return CMD_SUCCESS;
}
@@ -703,9 +701,7 @@ DEFPY (no_ipv6_mld_group_watermark,
IGNORED_IN_NO_STR)
{
PIM_DECLVAR_CONTEXT_VRF(vrf, pim);
-
- /* TBD Depends on MLD data structure changes */
- (void)pim;
+ pim->gm_watermark_limit = 0;
return CMD_SUCCESS;
}