pimd: pimd: hello sent counters are getting clear on new neighbor addition

Problem Statement:
==================
On new neighbor addition, the tx counter for hello msg is reset.

Fix:
=================
Do not reset the tx counter on new neighbor addition.

Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
This commit is contained in:
Mobashshera Rasool 2021-10-03 21:55:46 -07:00
parent 79992e8a42
commit de4e7e3355

View File

@ -289,7 +289,6 @@ static void pim_addr_change(struct interface *ifp)
HoldTime should be sent immediately.
-- FIXME See TODO T31
*/
pim_ifp->pim_ifstat_hello_sent = 0; /* reset hello counter */
PIM_IF_FLAG_UNSET_HELLO_SENT(pim_ifp->flags);
if (pim_ifp->pim_sock_fd < 0)
return;