From: Donald Sharp Date: Mon, 2 Aug 2021 00:22:36 +0000 (-0400) Subject: pimd: Allow more permisive versions of some no commands X-Git-Tag: base_8.1~230^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=bb9ff200b3407e7c16b7e6f4c40c9047a7b27a21;p=matthieu%2Ffrr.git 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 --- 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];