From 6fe9b9d6005cf2f37fb15abc3da678ff8dbfa1e7 Mon Sep 17 00:00:00 2001 From: Mobashshera Rasool Date: Mon, 18 Jul 2022 01:18:16 -0700 Subject: [PATCH] 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 --- pimd/pim_iface.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/pimd/pim_iface.c b/pimd/pim_iface.c index 73b6ca951a..20a5a2f528 100644 --- a/pimd/pim_iface.c +++ b/pimd/pim_iface.c @@ -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;