summaryrefslogtreecommitdiffstats
path: root/pimd/pim_pim.c
diff options
context:
space:
mode:
authorsaravanank <saravanank@vmware.com>2020-03-19 11:06:46 +0100
committersaravanank <saravanank@vmware.com>2020-03-19 11:06:46 +0100
commitb279f95c7097dd66f43d4be09c0071ce1fdb83c5 (patch)
treebd4c212c61df8cf19fca91e75ce61ca65f646b29 /pimd/pim_pim.c
parentMerge pull request #6003 from ton31337/fix/skip_kitchen_files (diff)
downloadfrr-b279f95c7097dd66f43d4be09c0071ce1fdb83c5.tar.xz
frr-b279f95c7097dd66f43d4be09c0071ce1fdb83c5.zip
pimd: Pim hello should be sent with 0 hold time on address change on old src ip
RCA: This was todo item in current code base Fix: Hello sent with 0 hold time before we update the pim ifp primary address Signed-off-by: Saravanan K <saravanank@vmware.com>
Diffstat (limited to 'pimd/pim_pim.c')
-rw-r--r--pimd/pim_pim.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/pimd/pim_pim.c b/pimd/pim_pim.c
index 8d7a921cf..9c99d5967 100644
--- a/pimd/pim_pim.c
+++ b/pimd/pim_pim.c
@@ -42,7 +42,6 @@
#include "pim_bsm.h"
static int on_pim_hello_send(struct thread *t);
-static int pim_hello_send(struct interface *ifp, uint16_t holdtime);
static const char *pim_pim_msgtype2str(enum pim_msg_type type)
{
@@ -662,7 +661,7 @@ static int hello_send(struct interface *ifp, uint16_t holdtime)
return 0;
}
-static int pim_hello_send(struct interface *ifp, uint16_t holdtime)
+int pim_hello_send(struct interface *ifp, uint16_t holdtime)
{
struct pim_interface *pim_ifp = ifp->info;