diff options
| author | Mobashshera Rasool <mrasool@vmware.com> | 2022-07-18 01:18:16 -0700 | 
|---|---|---|
| committer | Mobashshera Rasool <mrasool@vmware.com> | 2022-07-18 01:18:16 -0700 | 
| commit | 6fe9b9d6005cf2f37fb15abc3da678ff8dbfa1e7 (patch) | |
| tree | e39d082665ecdb7d884a4c2532c7ff0a9bb2f651 /pimd/pim_iface.c | |
| parent | 67f05be318e6cd746fa60e7bb1559fa5195044ec (diff) | |
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>
Diffstat (limited to 'pimd/pim_iface.c')
| -rw-r--r-- | pimd/pim_iface.c | 2 | 
1 files changed, 0 insertions, 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;  | 
