david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

Packets without a DHCP_MESSAGE_TYPE option are probably just BOOTP

packets.
This commit is contained in:
Michael Brown 2006-07-20 00:03:25 +00:00
parent 29b358dd39
commit 881b90e82c
1 changed files with 1 additions and 0 deletions

View File

@ -66,6 +66,7 @@ static uint8_t dhcp_request_options_data[] = {
*/
static inline const char * dhcp_message_type_name ( unsigned int msgtype ) {
switch ( msgtype ) {
case 0: return "BOOTP"; /* Non-DHCP packet */
case DHCPDISCOVER: return "DHCPDISCOVER";
case DHCPOFFER: return "DHCPOFFER";
case DHCPREQUEST: return "DHCPREQUEST";