From: Michael Brown Date: Thu, 13 Sep 2007 00:13:57 +0000 (+0100) Subject: Bugfix: DHCP message type should be a one-byte option... (d'oh) X-Git-Tag: v0.9.3~93 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=771455653b173f69b9c181d7ffbb37da006ad875;p=thirdparty%2Fipxe.git Bugfix: DHCP message type should be a one-byte option... (d'oh) --- diff --git a/src/net/udp/dhcp.c b/src/net/udp/dhcp.c index 86695f12b..9e48fe11b 100644 --- a/src/net/udp/dhcp.c +++ b/src/net/udp/dhcp.c @@ -294,8 +294,7 @@ static int copy_dhcp_packet_options ( struct dhcp_packet *dhcppkt, * dhcp_packet structure that can be passed to * set_dhcp_packet_option() or copy_dhcp_packet_options(). */ -static int create_dhcp_packet ( struct net_device *netdev, - unsigned int msgtype, +static int create_dhcp_packet ( struct net_device *netdev, uint8_t msgtype, void *data, size_t max_len, struct dhcp_packet *dhcppkt ) { struct dhcphdr *dhcphdr = data;