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:
wpaul 2000-04-27 15:11:41 +00:00
parent baee26c875
commit 301e86c0fa

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;