mirror of
https://github.com/opnsense/src.git
synced 2026-04-24 07:37:25 -04:00
- M_ZERO already sets bif_dlist to zero; there is no need to
do it again.
This commit is contained in:
parent
d5a7911f4a
commit
0f6db47fb3
1 changed files with 0 additions and 1 deletions
|
|
@ -1216,7 +1216,6 @@ bpfattach(ifp, dlt, hdrlen)
|
|||
if (bp == 0)
|
||||
panic("bpfattach");
|
||||
|
||||
bp->bif_dlist = 0;
|
||||
bp->bif_ifp = ifp;
|
||||
bp->bif_dlt = dlt;
|
||||
mtx_init(&bp->bif_mtx, "bpf interface lock", MTX_DEF);
|
||||
|
|
|
|||
Loading…
Reference in a new issue