]> git.puffer.fish Git - matthieu/frr.git/commitdiff
pim6d: clear interface stats on interface shutdown
authorMobashshera Rasool <mrasool@vmware.com>
Mon, 18 Jul 2022 08:18:16 +0000 (01:18 -0700)
committerMobashshera Rasool <mrasool@vmware.com>
Mon, 18 Jul 2022 08:18:16 +0000 (01:18 -0700)
The clear was happening only for PIMv4. Removed the PIMv4
check.

Fixes: #11628
Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
pimd/pim_iface.c

index 73b6ca951a80575394af579c4b5d335a597f4419..20a5a2f52853ef5adc60fe24ff58c506c78be0f8 100644 (file)
@@ -1768,9 +1768,7 @@ static int pim_ifp_down(struct interface *ifp)
 
        if (ifp->info) {
                pim_if_del_vif(ifp);
-#if PIM_IPV == 4
                pim_ifstat_reset(ifp);
-#endif
        }
 
        return 0;