summaryrefslogtreecommitdiffstats
path: root/pimd
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2021-08-02 02:22:36 +0200
committerDonald Sharp <sharpd@nvidia.com>2021-08-02 02:22:36 +0200
commitbb9ff200b3407e7c16b7e6f4c40c9047a7b27a21 (patch)
tree7d693b80bf58b10599121ee47a7d1e0e48fb9d4d /pimd
parentMerge pull request #9244 from LabNConsulting/chopps/fix-bgp-list-test (diff)
downloadfrr-bb9ff200b3407e7c16b7e6f4c40c9047a7b27a21.tar.xz
frr-bb9ff200b3407e7c16b7e6f4c40c9047a7b27a21.zip
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')
-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 37d206cc1..f96a507a0 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];