summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-11-12 16:35:03 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-11-12 16:35:03 +0000
commit7757e7c6f948f5db89e25ee5d647a57c3875964c (patch)
tree6346da42f336eedf39fa88d26bfb8f95b0379723 /sys/net
parent92a72048d890e11bd5587c74227f5bf0a1d77460 (diff)
crank BPF_BUFSIZE so that fddi frames fit
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/bpf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/bpf.c b/sys/net/bpf.c
index 19a1cde28de..0b558f2ae40 100644
--- a/sys/net/bpf.c
+++ b/sys/net/bpf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bpf.c,v 1.13 1998/06/26 09:13:10 deraadt Exp $ */
+/* $OpenBSD: bpf.c,v 1.14 1998/11/12 16:35:02 deraadt Exp $ */
/* $NetBSD: bpf.c,v 1.33 1997/02/21 23:59:35 thorpej Exp $ */
/*
@@ -85,7 +85,7 @@ caddr_t bpf_alloc();
#define BPF_BUFSIZE (MCLBYTES-8)
#define UIOMOVE(cp, len, code, uio) uiomove(cp, len, code, uio)
#else
-#define BPF_BUFSIZE 4096
+#define BPF_BUFSIZE 8192 /* 4096 too small for FDDI frames */
#define UIOMOVE(cp, len, code, uio) uiomove(cp, len, uio)
#endif