http://git.etherboot.org
/
people
/
mcb30
/
gpxe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3206e47
)
[dhcp] Use a default user-class of "gPXE"
author
Michael Brown
<mcb30@etherboot.org>
Tue, 17 Feb 2009 22:03:28 +0000
(22:03 +0000)
committer
Michael Brown
<mcb30@etherboot.org>
Tue, 17 Feb 2009 22:03:28 +0000
(22:03 +0000)
This change makes it possible to break the PXE-chaining infinite loop
even when restricted to a Windows DHCP server.
src/net/udp/dhcp.c
patch
|
blob
|
history
diff --git
a/src/net/udp/dhcp.c
b/src/net/udp/dhcp.c
index
776635c
..
ab843ce
100644
(file)
--- a/
src/net/udp/dhcp.c
+++ b/
src/net/udp/dhcp.c
@@
-77,6
+77,8
@@
static uint8_t dhcp_request_options_data[] = {
DHCP_STRING ( 'P', 'X', 'E', 'C', 'l', 'i', 'e', 'n', 't', ':',
'A', 'r', 'c', 'h', ':', '0', '0', '0', '0', '0', ':',
'U', 'N', 'D', 'I', ':', '0', '0', '2', '0', '0', '1' ),
+ DHCP_USER_CLASS_ID,
+ DHCP_STRING ( 'g', 'P', 'X', 'E' ),
DHCP_PARAMETER_REQUEST_LIST,
DHCP_OPTION ( DHCP_SUBNET_MASK, DHCP_ROUTERS, DHCP_DNS_SERVERS,
DHCP_LOG_SERVERS, DHCP_HOST_NAME, DHCP_DOMAIN_NAME,