summaryrefslogtreecommitdiff
path: root/sys/net/bpf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/bpf.c')
-rw-r--r--sys/net/bpf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/bpf.c b/sys/net/bpf.c
index 64129212b3e..c26a30b9d71 100644
--- a/sys/net/bpf.c
+++ b/sys/net/bpf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bpf.c,v 1.18 1999/08/10 02:42:30 deraadt Exp $ */
+/* $OpenBSD: bpf.c,v 1.19 2000/02/19 08:59:04 niklas Exp $ */
/* $NetBSD: bpf.c,v 1.33 1997/02/21 23:59:35 thorpej Exp $ */
/*
@@ -1390,6 +1390,7 @@ bpfdetach(ifp)
}
pbp = &bp->bif_next;
}
+ ifp->if_bpf = NULL;
}
#if BSD >= 199103