]> git.puffer.fish Git - matthieu/frr.git/commitdiff
pimd: Allow more permisive versions of some no commands
authorDonald Sharp <sharpd@nvidia.com>
Mon, 2 Aug 2021 00:22:36 +0000 (20:22 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Mon, 2 Aug 2021 00:22:36 +0000 (20:22 -0400)
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>
pimd/pim_cmd.c

index 37d206cc1179a24ec4dd004cde361c69bb5004ef..f96a507a0e5eff77309f5b49f78f3e0373e3e8f4 100644 (file)
@@ -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];