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:
parent
12ce4272ee
commit
31def8459d
3 changed files with 9 additions and 1 deletions
|
@ -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
1
THANKS
|
@ -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>
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue