summaryrefslogtreecommitdiff
path: root/pimd/pim_cmd.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2021-08-01 20:22:36 -0400
committerDonald Sharp <sharpd@nvidia.com>2021-08-01 20:22:36 -0400
commitbb9ff200b3407e7c16b7e6f4c40c9047a7b27a21 (patch)
tree7d693b80bf58b10599121ee47a7d1e0e48fb9d4d /pimd/pim_cmd.c
parenta76301c11c10bc87ff14d954bab21bca8679fad9 (diff)
pimd: Allow more permisive versions of some no commands
Some no commands were not accepting values and left us in a situation where a cut-n-paste of the non-no line would not be properly accepted. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'pimd/pim_cmd.c')
-rw-r--r--pimd/pim_cmd.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/pimd/pim_cmd.c b/pimd/pim_cmd.c
index 37d206cc11..f96a507a0e 100644
--- a/pimd/pim_cmd.c
+++ b/pimd/pim_cmd.c
@@ -8355,11 +8355,12 @@ DEFUN (interface_ip_igmp_last_member_query_count,
DEFUN (interface_no_ip_igmp_last_member_query_count,
interface_no_ip_igmp_last_member_query_count_cmd,
- "no ip igmp last-member-query-count",
+ "no ip igmp last-member-query-count [(1-7)]",
NO_STR
IP_STR
IFACE_IGMP_STR
- IFACE_IGMP_LAST_MEMBER_QUERY_COUNT_STR)
+ IFACE_IGMP_LAST_MEMBER_QUERY_COUNT_STR
+ "Last member query count\n")
{
char default_robustness[2];
@@ -8402,11 +8403,12 @@ DEFUN (interface_ip_igmp_last_member_query_interval,
DEFUN (interface_no_ip_igmp_last_member_query_interval,
interface_no_ip_igmp_last_member_query_interval_cmd,
- "no ip igmp last-member-query-interval",
+ "no ip igmp last-member-query-interval [(1-255)]",
NO_STR
IP_STR
IFACE_IGMP_STR
- IFACE_IGMP_LAST_MEMBER_QUERY_INTERVAL_STR)
+ IFACE_IGMP_LAST_MEMBER_QUERY_INTERVAL_STR
+ "Last member query interval in deciseconds\n")
{
char default_last_member_query_count[4];