diff options
author | Michael Brown | 2006-07-20 02:03:25 +0200 |
---|---|---|
committer | Michael Brown | 2006-07-20 02:03:25 +0200 |
commit | 881b90e82cd5bff1c4539493c70c12254307302d (patch) | |
tree | 70fe168e1127dee15f635c1d2c6b12d98f0817e0 /src/net/udp/dhcp.c | |
parent | conn->local_port is now network-endian; do not swap when comparing (diff) | |
download | ipxe-881b90e82cd5bff1c4539493c70c12254307302d.tar.gz ipxe-881b90e82cd5bff1c4539493c70c12254307302d.tar.xz ipxe-881b90e82cd5bff1c4539493c70c12254307302d.zip |
Packets without a DHCP_MESSAGE_TYPE option are probably just BOOTP
packets.
Diffstat (limited to 'src/net/udp/dhcp.c')
-rw-r--r-- | src/net/udp/dhcp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/udp/dhcp.c b/src/net/udp/dhcp.c index 13968638..a0738b74 100644 --- a/src/net/udp/dhcp.c +++ b/src/net/udp/dhcp.c @@ -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"; |