summaryrefslogtreecommitdiff
path: root/common/lpf.c
diff options
context:
space:
mode:
authorTed Lemon <source@isc.org>2001-04-24 00:36:00 +0000
committerTed Lemon <source@isc.org>2001-04-24 00:36:00 +0000
commit05dcd0936e71f79c2c0145a1906a841e07493a4a (patch)
tree38ad9d5a224569a6a8c911848bbdb09b6a94f553 /common/lpf.c
parentc6f810c2d536ba90b1a4ad751b6b6597a4f7f791 (diff)
downloadisc-dhcp-05dcd0936e71f79c2c0145a1906a841e07493a4a.tar.gz
Make lpf input packet reassembly buffer slightly bigger.
Diffstat (limited to 'common/lpf.c')
-rw-r--r--common/lpf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/lpf.c b/common/lpf.c
index a75c56ce..da03c311 100644
--- a/common/lpf.c
+++ b/common/lpf.c
@@ -37,7 +37,7 @@
#ifndef lint
static char copyright[] =
-"$Id: lpf.c,v 1.28 2000/10/10 22:34:39 mellon Exp $ Copyright (c) 1996-2000 The Internet Software Consortium. All rights reserved.\n";
+"$Id: lpf.c,v 1.29 2001/04/24 00:36:00 mellon Exp $ Copyright (c) 1996-2000 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
@@ -346,7 +346,7 @@ ssize_t receive_packet (interface, buf, len, from, hfrom)
int nread;
int length = 0;
int offset = 0;
- unsigned char ibuf [1500];
+ unsigned char ibuf [1536];
unsigned bufix = 0;
length = read (interface -> rfdesc, ibuf, sizeof ibuf);