2004-05-20 Damian Ivereigh <damian@cisco.com>

* netboot/main.c: Fixed bootp only code so that options
        work properly. This fix is obvious when compared with the
        DHCP code.
This commit is contained in:
okuji 2004-05-20 22:17:27 +00:00
parent 12ce4272ee
commit 31def8459d
3 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2004-05-20 Damian Ivereigh <damian@cisco.com>
* netboot/main.c: Fixed bootp only code so that options
work properly. This fix is obvious when compared with the
DHCP code.
2004-05-17 Pavel Roskin <proski@gnu.org>
* stage2/char_io.c (safe_parse_maxint): Disable for stage 1.5.

1
THANKS
View file

@ -25,6 +25,7 @@ Cedric Ware <ware@com.enst.fr>
Chip Salzenberg <chip@valinux.com>
Christian Jones <chjones@aleph0.com>
Christoph Plattner <Christoph.Plattner@dot.at>
Damian Ivereigh <damian@cisco.com>
Dan J. Walters <djw@cs.utexas.edu>
Daniel Farrell <s2108287@student.rmit.edu.au>
Daniel Pittman <daniel@rimspace.net>

View file

@ -881,7 +881,8 @@ await_reply (int type, int ival, void *ptr, int timeout)
+ sizeof (struct udphdr))];
if (type == AWAIT_BOOTP
#ifdef NO_DHCP_SUPPORT
&& (nic.packetlen >= (ETH_HLEN + sizeof (struct bootp_t)))
&& (nic.packetlen
>= (ETH_HLEN + sizeof (struct bootp_t) - BOOTP_VENDOR_LEN))
#else
&& (nic.packetlen
>= (ETH_HLEN + sizeof (struct bootp_t) - DHCP_OPT_LEN))