diff options
Diffstat (limited to 'sys/net/bpf.c')
| -rw-r--r-- | sys/net/bpf.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/net/bpf.c b/sys/net/bpf.c index 6c08190cc1f1..fe3f07b70271 100644 --- a/sys/net/bpf.c +++ b/sys/net/bpf.c @@ -216,6 +216,10 @@ bpf_movein(uio, linktype, mp, sockp, datlen) hlen = 12; /* XXX 4(ATM_PH) + 3(LLC) + 5(SNAP) */ break; #endif + case DLT_PPP: + sockp->sa_family = AF_UNSPEC; + hlen = 4; /* This should match PPP_HDRLEN */ + break; default: return (EIO); |
