mirror of
https://github.com/ipxe/ipxe
synced 2025-12-12 06:22:01 +03:00
Packets without a DHCP_MESSAGE_TYPE option are probably just BOOTP
packets.
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user