2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-09-03 07:45:20 +00:00

Make lpf input packet reassembly buffer slightly bigger.

This commit is contained in:
Ted Lemon
2001-04-24 00:36:00 +00:00
parent c6f810c2d5
commit 05dcd0936e

View File

@@ -37,7 +37,7 @@
#ifndef lint #ifndef lint
static char copyright[] = 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 */ #endif /* not lint */
#include "dhcpd.h" #include "dhcpd.h"
@@ -346,7 +346,7 @@ ssize_t receive_packet (interface, buf, len, from, hfrom)
int nread; int nread;
int length = 0; int length = 0;
int offset = 0; int offset = 0;
unsigned char ibuf [1500]; unsigned char ibuf [1536];
unsigned bufix = 0; unsigned bufix = 0;
length = read (interface -> rfdesc, ibuf, sizeof ibuf); length = read (interface -> rfdesc, ibuf, sizeof ibuf);