* netboot/main.c: Fixed bootp only code so that options
work properly. This fix is obvious when compared with the
DHCP code.
+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.
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>
+ 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))