From da626c171a2ac8c6b5904da904166f93948f8bc7 Mon Sep 17 00:00:00 2001 From: Bill Paul Date: Thu, 27 Apr 2000 15:11:41 +0000 Subject: [PATCH] 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(+) diff --git a/sys/net/bpf.c b/sys/net/bpf.c index 9d562e4c2970..6c08190cc1f1 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;