summaryrefslogtreecommitdiff
path: root/sys/lib/libsa/bootp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/lib/libsa/bootp.c')
-rw-r--r--sys/lib/libsa/bootp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/lib/libsa/bootp.c b/sys/lib/libsa/bootp.c
index 1bdfd956d80..c7c9afebd98 100644
--- a/sys/lib/libsa/bootp.c
+++ b/sys/lib/libsa/bootp.c
@@ -1,4 +1,4 @@
-/* $NetBSD: bootp.c,v 1.37 2009/07/10 12:16:31 roy Exp $ */
+/* $NetBSD: bootp.c,v 1.38 2011/05/11 16:23:40 zoltan Exp $ */
/*
* Copyright (c) 1992 Regents of the University of California.
@@ -123,11 +123,11 @@ bootp(int sock)
struct iodesc *d;
struct bootp *bp;
struct {
- u_char header[HEADER_SIZE];
+ u_char header[UDP_TOTAL_HEADER_SIZE];
struct bootp wbootp;
} wbuf;
struct {
- u_char header[HEADER_SIZE];
+ u_char header[UDP_TOTAL_HEADER_SIZE];
struct bootp rbootp;
} rbuf;
unsigned int index;