From b279f95c7097dd66f43d4be09c0071ce1fdb83c5 Mon Sep 17 00:00:00 2001 From: saravanank Date: Thu, 19 Mar 2020 03:06:46 -0700 Subject: 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 --- pimd/pim_pim.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'pimd/pim_pim.c') diff --git a/pimd/pim_pim.c b/pimd/pim_pim.c index 8d7a921cf4..9c99d59672 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; -- cgit v1.2.3