mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Fx a type from r271817; it's IFCOUNTER_* not IFNET_*.
This commit is contained in:
parent
64c5167c91
commit
94b0d1ae8d
1 changed files with 1 additions and 1 deletions
|
|
@ -909,7 +909,7 @@ smc_task_intr(void *context, int pending)
|
|||
smc_select_bank(sc, 0);
|
||||
counter = smc_read_2(sc, ECR);
|
||||
smc_select_bank(sc, 2);
|
||||
if_inc_counter(ifp, IFNET_COLLISIONS,
|
||||
if_inc_counter(ifp, IFCOUNTER_COLLISIONS,
|
||||
((counter & ECR_SNGLCOL_MASK) >> ECR_SNGLCOL_SHIFT) +
|
||||
((counter & ECR_MULCOL_MASK) >> ECR_MULCOL_SHIFT));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue