aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-10-19 14:16:32 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-10-19 14:16:32 -0700
commitce5cbe874769be6a6aac023db161863d35ae6bc5 (patch)
treeb1dc21f09a10de54b59f575c011abbeac3eed02e
parentd3554fa350b52af6c23c0ce9eee5369db36d0de3 (diff)
downloadsyslinux-elf-ce5cbe874769be6a6aac023db161863d35ae6bc5.tar.gz
syslinux-elf-ce5cbe874769be6a6aac023db161863d35ae6bc5.tar.xz
syslinux-elf-ce5cbe874769be6a6aac023db161863d35ae6bc5.zip
mboot.c32: change DHCP_ACK_SIZE to 2048
Change DHCP_ACK_SIZE to 2048 just to prevent some systems from doing stupid things. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r--com32/modules/mboot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/modules/mboot.c b/com32/modules/mboot.c
index da0f3fd0..61ef565e 100644
--- a/com32/modules/mboot.c
+++ b/com32/modules/mboot.c
@@ -54,7 +54,7 @@
#define MEM_HOLE_START 0xa0000 /* Memory hole runs from 640k ... */
#define MEM_HOLE_END 0x100000 /* ... to 1MB */
#define X86_PAGE_SIZE 0x1000
-#define DHCP_ACK_SIZE 1500 /* Maximum size of the DHCP ACK package.
+#define DHCP_ACK_SIZE 2048 /* Maximum size of the DHCP ACK package.
Probably too large since we're interested
in the first bunch of bytes only. */