diff options
| author | zoltan <zoltan@NetBSD.org> | 2011-05-11 16:23:40 +0000 |
|---|---|---|
| committer | zoltan <zoltan@NetBSD.org> | 2011-05-11 16:23:40 +0000 |
| commit | 58fedeb0096473e400c08fdd236e2b46c016c19b (patch) | |
| tree | ebf7c7c057743404d09981b64ac747accf8265d9 /sys/lib/libsa/bootp.c | |
| parent | f648ddb4b3f70781c0df822bc8f5e6dd8449eefd (diff) | |
Separate the IP and UDP code paths inside libsa, so I can add HTTP booting
later.
Diffstat (limited to 'sys/lib/libsa/bootp.c')
| -rw-r--r-- | sys/lib/libsa/bootp.c | 6 |
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; |
