]> git.puffer.fish Git - matthieu/frr.git/commitdiff
pimd: pimd: hello sent counters are getting clear on new neighbor addition
authorMobashshera Rasool <mrasool@vmware.com>
Mon, 4 Oct 2021 04:55:46 +0000 (21:55 -0700)
committerMobashshera Rasool <mrasool@vmware.com>
Mon, 4 Oct 2021 05:04:34 +0000 (22:04 -0700)
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>
pimd/pim_iface.c

index 4b87bde281582506a1d206ebde1cc7fa0a5e5aee..b18743e2a4a7259ab442311774e6a3dd26b6e5db 100644 (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;