diff options
| author | Brian Somers <brian@FreeBSD.org> | 2000-09-23 21:00:03 +0000 |
|---|---|---|
| committer | Brian Somers <brian@FreeBSD.org> | 2000-09-23 21:00:03 +0000 |
| commit | bb6f41e392829991bca9ed8c45636ed3c1d6be4f (patch) | |
| tree | 4fcbd991ac1781d03924b0e0f44f96179d13db63 | |
| parent | dcdaaee7adb2cfce3bf8a9bf409acfaf0a33a9f5 (diff) | |
Notes
| -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); |
