summaryrefslogtreecommitdiff
path: root/sys/net/bpf.c
diff options
context:
space:
mode:
authorMatthew N. Dodd <mdodd@FreeBSD.org>2003-03-03 05:04:57 +0000
committerMatthew N. Dodd <mdodd@FreeBSD.org>2003-03-03 05:04:57 +0000
commit797f247b5146cde6e8e3a66ff9d2b44e3e1e26dc (patch)
tree1a7da9ce88a0fd72ae2f765e952b5dcf1e2b93f7 /sys/net/bpf.c
parenta6ed41865b36c80131d5adea7eafcf08f8d7773b (diff)
downloadsrc-test2-797f247b5146cde6e8e3a66ff9d2b44e3e1e26dc.tar.gz
src-test2-797f247b5146cde6e8e3a66ff9d2b44e3e1e26dc.zip
Notes
Diffstat (limited to 'sys/net/bpf.c')
-rw-r--r--sys/net/bpf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/bpf.c b/sys/net/bpf.c
index bc13b59440ee..38ae86144837 100644
--- a/sys/net/bpf.c
+++ b/sys/net/bpf.c
@@ -168,7 +168,7 @@ bpf_movein(uio, linktype, mp, sockp, datlen)
case DLT_EN10MB:
sockp->sa_family = AF_UNSPEC;
/* XXX Would MAXLINKHDR be better? */
- hlen = sizeof(struct ether_header);
+ hlen = ETHER_HDR_LEN;
break;
case DLT_FDDI: