mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-24 08:09:22 +00:00
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:
1 parent
12ce4272ee
commit
31def8459d
3 files changed
+9
-1
No files matched your search
@@ -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>
|
2004-05-17 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
* stage2/char_io.c (safe_parse_maxint): Disable for stage 1.5.
|
* stage2/char_io.c (safe_parse_maxint): Disable for stage 1.5.
|
||||||
|
|||||||
@@ -25,6 +25,7 @@ Cedric Ware <ware@com.enst.fr>
|
|||||||
Chip Salzenberg <chip@valinux.com>
|
Chip Salzenberg <chip@valinux.com>
|
||||||
Christian Jones <chjones@aleph0.com>
|
Christian Jones <chjones@aleph0.com>
|
||||||
Christoph Plattner <Christoph.Plattner@dot.at>
|
Christoph Plattner <Christoph.Plattner@dot.at>
|
||||||
|
Damian Ivereigh <damian@cisco.com>
|
||||||
Dan J. Walters <djw@cs.utexas.edu>
|
Dan J. Walters <djw@cs.utexas.edu>
|
||||||
Daniel Farrell <s2108287@student.rmit.edu.au>
|
Daniel Farrell <s2108287@student.rmit.edu.au>
|
||||||
Daniel Pittman <daniel@rimspace.net>
|
Daniel Pittman <daniel@rimspace.net>
|
||||||
|
|||||||
+2
-1
@@ -881,7 +881,8 @@ await_reply (int type, int ival, void *ptr, int timeout)
|
|||||||
+ sizeof (struct udphdr))];
|
+ sizeof (struct udphdr))];
|
||||||
if (type == AWAIT_BOOTP
|
if (type == AWAIT_BOOTP
|
||||||
#ifdef NO_DHCP_SUPPORT
|
#ifdef NO_DHCP_SUPPORT
|
||||||
&& (nic.packetlen >= (ETH_HLEN + sizeof (struct bootp_t)))
|
&& (nic.packetlen
|
||||||
|
>= (ETH_HLEN + sizeof (struct bootp_t) - BOOTP_VENDOR_LEN))
|
||||||
#else
|
#else
|
||||||
&& (nic.packetlen
|
&& (nic.packetlen
|
||||||
>= (ETH_HLEN + sizeof (struct bootp_t) - DHCP_OPT_LEN))
|
>= (ETH_HLEN + sizeof (struct bootp_t) - DHCP_OPT_LEN))
|
||||||
|
|||||||
Reference in new issue
Block a user