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
This commit is contained in:
Bill Paul 2000-04-27 15:11:41 +00:00
parent cb4860b709
commit da626c171a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=59696

View File

@ -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;