From: Mobashshera Rasool Date: Thu, 25 Mar 2021 05:45:06 +0000 (+0000) Subject: pimd: in 'no ip pim hello' add hold time as optional when hello interval given X-Git-Tag: base_8.0~221^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=93839459dc220646827a61e95594a1b6421cb7e1;p=matthieu%2Ffrr.git pimd: in 'no ip pim hello' add hold time as optional when hello interval given Issue: User is allowed to configure only hello without hold timer but when undo config, the hold timer is mandatory as shown below: FRR-4(config-if)# ip pim hello 10 (1-180) Time in seconds for Hold Interval FRR-4(config-if)# ip pim hello 10 FRR-4(config-if)# no ip pim hello 10 (1-180) Time in seconds for Hold Interval FRR-4(config-if)# no ip pim hello 10 % Command incomplete: no ip pim hello 20 Fix: Making the hold timer as optional when undo config. Signed-off-by: Mobashshera Rasool --- diff --git a/pimd/pim_cmd.c b/pimd/pim_cmd.c index 25fae26d06..4bbe7d35f0 100644 --- a/pimd/pim_cmd.c +++ b/pimd/pim_cmd.c @@ -8991,7 +8991,7 @@ DEFUN (interface_ip_pim_hello, DEFUN (interface_no_ip_pim_hello, interface_no_ip_pim_hello_cmd, - "no ip pim hello [(1-180) (1-180)]", + "no ip pim hello [(1-180) [(1-180)]]", NO_STR IP_STR PIM_STR