summaryrefslogtreecommitdiff
path: root/pimd/pim_cmd.c
diff options
context:
space:
mode:
authorgithub login name <ranjany@vmware.com>2021-07-05 04:07:25 -0700
committermergify-bot <noreply@mergify.io>2021-07-25 12:23:17 +0000
commit0e17028fea76afcefa5352c0f1318b5c096731f4 (patch)
tree3f174aa1ef56531d50c56f882d390b33b80cd85d /pimd/pim_cmd.c
parent914e3cf7974b438f0e3dd31235c1e9dd80e3006a (diff)
pimd: make pim interface hold interval range 1-630
Making the interface holdtime range to 3.5 times the hello-time As per 7761, Section 4.11: The Holdtime in a Hello message should be set to (3.5 * Hello_Period), giving a default value of 105 seconds. Therefore providing the user also to configure max upto 3.5 times the hello timer interval. Signed-off-by: Mobashshera Rasool <mrasool@vmware.com> (cherry picked from commit 142774530ade49f63997bd52c434457fe8979bdf)
Diffstat (limited to 'pimd/pim_cmd.c')
-rw-r--r--pimd/pim_cmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pimd/pim_cmd.c b/pimd/pim_cmd.c
index f189cd7ff0..e6806bbbda 100644
--- a/pimd/pim_cmd.c
+++ b/pimd/pim_cmd.c
@@ -8720,7 +8720,7 @@ DEFUN (interface_no_ip_mroute,
DEFUN (interface_ip_pim_hello,
interface_ip_pim_hello_cmd,
- "ip pim hello (1-180) [(1-180)]",
+ "ip pim hello (1-180) [(1-630)]",
IP_STR
PIM_STR
IFACE_PIM_HELLO_STR
@@ -8755,7 +8755,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-630)]]",
NO_STR
IP_STR
PIM_STR