|
@@ -294,8 +294,7 @@ static int copy_dhcp_packet_options ( struct dhcp_packet *dhcppkt,
|
294
|
294
|
* dhcp_packet structure that can be passed to
|
295
|
295
|
* set_dhcp_packet_option() or copy_dhcp_packet_options().
|
296
|
296
|
*/
|
297
|
|
-static int create_dhcp_packet ( struct net_device *netdev,
|
298
|
|
- unsigned int msgtype,
|
|
297
|
+static int create_dhcp_packet ( struct net_device *netdev, uint8_t msgtype,
|
299
|
298
|
void *data, size_t max_len,
|
300
|
299
|
struct dhcp_packet *dhcppkt ) {
|
301
|
300
|
struct dhcphdr *dhcphdr = data;
|