diff options
| author | saravanank <saravanank@vmware.com> | 2020-03-19 03:06:46 -0700 | 
|---|---|---|
| committer | saravanank <saravanank@vmware.com> | 2020-03-19 03:06:46 -0700 | 
| commit | b279f95c7097dd66f43d4be09c0071ce1fdb83c5 (patch) | |
| tree | bd4c212c61df8cf19fca91e75ce61ca65f646b29 /pimd/pim_pim.c | |
| parent | 7f2ccbe562cae49fb8bf1770a0ec79b701ee41af (diff) | |
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.c | 3 | 
1 files changed, 1 insertions, 2 deletions
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;  | 
