pim6d: clear interface stats on interface shutdown

The clear was happening only for PIMv4. Removed the PIMv4
check.

Fixes: #11628

Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
This commit is contained in:
Mobashshera Rasool 2022-07-18 01:18:16 -07:00
parent 67f05be318
commit 6fe9b9d600

View 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;