From: Ted Lemon Date: Tue, 24 Apr 2001 00:36:00 +0000 (+0000) Subject: Make lpf input packet reassembly buffer slightly bigger. X-Git-Tag: V3-RC2-PATCH-1~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05dcd0936e71f79c2c0145a1906a841e07493a4a;p=thirdparty%2Fdhcp.git Make lpf input packet reassembly buffer slightly bigger. --- diff --git a/common/lpf.c b/common/lpf.c index a75c56ce4..da03c3111 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);