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:
parent
baee26c875
commit
301e86c0fa
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user