]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Make lpf input packet reassembly buffer slightly bigger.
authorTed Lemon <source@isc.org>
Tue, 24 Apr 2001 00:36:00 +0000 (00:36 +0000)
committerTed Lemon <source@isc.org>
Tue, 24 Apr 2001 00:36:00 +0000 (00:36 +0000)
common/lpf.c

index a75c56ce4fa088b9cd171ca07ac0a2b3b7a43295..da03c31115b16370a1b0ef2a3a78973caf47b29a 100644 (file)
@@ -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);