Преглед изворни кода

Bugfix: DHCP message type should be a one-byte option... (d'oh)

tags/v0.9.3
Michael Brown пре 17 година
родитељ
комит
771455653b
1 измењених фајлова са 1 додато и 2 уклоњено
  1. 1
    2
      src/net/udp/dhcp.c

+ 1
- 2
src/net/udp/dhcp.c Прегледај датотеку

@@ -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;

Loading…
Откажи
Сачувај