mirror of
https://github.com/ipxe/ipxe
synced 2025-12-15 17:12:54 +03:00
Bugfix: DHCP message type should be a one-byte option... (d'oh)
This commit is contained in:
@@ -294,8 +294,7 @@ static int copy_dhcp_packet_options ( struct dhcp_packet *dhcppkt,
|
|||||||
* dhcp_packet structure that can be passed to
|
* dhcp_packet structure that can be passed to
|
||||||
* set_dhcp_packet_option() or copy_dhcp_packet_options().
|
* set_dhcp_packet_option() or copy_dhcp_packet_options().
|
||||||
*/
|
*/
|
||||||
static int create_dhcp_packet ( struct net_device *netdev,
|
static int create_dhcp_packet ( struct net_device *netdev, uint8_t msgtype,
|
||||||
unsigned int msgtype,
|
|
||||||
void *data, size_t max_len,
|
void *data, size_t max_len,
|
||||||
struct dhcp_packet *dhcppkt ) {
|
struct dhcp_packet *dhcppkt ) {
|
||||||
struct dhcphdr *dhcphdr = data;
|
struct dhcphdr *dhcphdr = data;
|
||||||
|
|||||||
Reference in New Issue
Block a user