Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[dhcp] Use a default user-class of "gPXE"
This change makes it possible to break the PXE-chaining infinite loop
even when restricted to a Windows DHCP server.
  • Loading branch information
Michael Brown committed Feb 17, 2009
1 parent 3206e47 commit 7b1a5a7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/net/udp/dhcp.c
Expand Up @@ -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,
Expand Down

0 comments on commit 7b1a5a7

Please sign in to comment.