diff options
| author | Sam Leffler <sam@FreeBSD.org> | 2009-05-25 16:34:35 +0000 |
|---|---|---|
| committer | Sam Leffler <sam@FreeBSD.org> | 2009-05-25 16:34:35 +0000 |
| commit | 5ce8d9708ccd142bcda5020225400a775eae9758 (patch) | |
| tree | 10ff63287fa287ab47f04c19b3b0ed7b7ca3a85b /sys/net | |
| parent | bcdaa850691d8e4b402a3ba1bbb970287f673838 (diff) | |
Notes
Diffstat (limited to 'sys/net')
| -rw-r--r-- | sys/net/bpf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/bpf.c b/sys/net/bpf.c index 5bca0eb27787..b944e2902cb0 100644 --- a/sys/net/bpf.c +++ b/sys/net/bpf.c @@ -535,7 +535,7 @@ bpf_attachd(struct bpf_d *d, struct bpf_if *bp) bpf_bpfd_cnt++; BPFIF_UNLOCK(bp); - EVENTHANDLER_INVOKE(bpf_track, bp->bif_ifp, 1); + EVENTHANDLER_INVOKE(bpf_track, bp->bif_ifp, bp->bif_dlt, 1); } /* @@ -563,7 +563,7 @@ bpf_detachd(struct bpf_d *d) BPFD_UNLOCK(d); BPFIF_UNLOCK(bp); - EVENTHANDLER_INVOKE(bpf_track, ifp, 0); + EVENTHANDLER_INVOKE(bpf_track, ifp, bp->bif_dlt, 0); /* * Check if this descriptor had requested promiscuous mode. |
