Some dhcp relays (e.g. udhcp) discard packets larger than
authoraland <aland>
Sat, 21 Jun 2008 06:09:16 +0000 (06:09 +0000)
committeraland <aland>
Sat, 21 Jun 2008 06:09:16 +0000 (06:09 +0000)
300 bytes.

src/lib/dhcp.c

index 81432b0..a007b0c 100644 (file)
@@ -106,7 +106,7 @@ static int dhcp_header_sizes[] = {
  *     Some clients silently ignore responses less than 300 bytes.
  */
 #define MIN_PACKET_SIZE (244)
-#define DEFAULT_PACKET_SIZE (576)
+#define DEFAULT_PACKET_SIZE (300)
 #define MAX_PACKET_SIZE (1500 - 40)
 
 /*