From 63e31a38dc785aa78feafd9cc78ac872e3409bc8 Mon Sep 17 00:00:00 2001 From: wpaul Date: Thu, 27 Apr 2000 15:11:41 +0000 Subject: Add a bpfdetach() stub routine to bpf.c. Without this, you'll get an unresolved symbol error if you try to load a network driver into a kernel which doesn't have bpf enabled. Forgotten by: rwatson Found by: peter --- sys/net/bpf.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sys/net/bpf.c') diff --git a/sys/net/bpf.c b/sys/net/bpf.c index 9d562e4..6c08190 100644 --- a/sys/net/bpf.c +++ b/sys/net/bpf.c @@ -1392,6 +1392,12 @@ bpfattach(ifp, dlt, hdrlen) { } +void +bpfdetach(ifp) + struct ifnet *ifp; +{ +} + u_int bpf_filter(pc, p, wirelen, buflen) register const struct bpf_insn *pc; -- cgit v1.1