diff options
Diffstat (limited to 'sys/net/bpf.c')
| -rw-r--r-- | sys/net/bpf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/bpf.c b/sys/net/bpf.c index 9c9ca7e155f5..ac81ff1bdf3d 100644 --- a/sys/net/bpf.c +++ b/sys/net/bpf.c @@ -1018,7 +1018,7 @@ bpf_setif(d, ifr) if (ifp == NULL || ifp != theywant) continue; /* skip additional entry */ - if (bp->bif_driverp != (struct bpf_if **)&ifp->if_bpf) + if (bp->bif_driverp != &ifp->if_bpf) continue; mtx_unlock(&bpf_mtx); |
