mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-20 21:37:22 +08:00
update components/net/lwip_dhcpd/dhcp_server.c.
消除编译警告
This commit is contained in:
parent
08bcc566b7
commit
745c7e0a7f
@ -306,7 +306,7 @@ static void dhcpd_thread_entry(void *parameter)
|
||||
while (1)
|
||||
{
|
||||
bytes_read = recvfrom(sock, recv_data, BUFSZ - 1, 0,
|
||||
(struct sockaddr *)&client_addr, &addr_len);
|
||||
(struct sockaddr *)&client_addr, (socklen_t*)&addr_len);
|
||||
if (bytes_read <= 0)
|
||||
{
|
||||
closesocket(sock);
|
||||
|
Loading…
x
Reference in New Issue
Block a user