Skip to content

Commit 39c8bef

Browse files
authored
Merge pull request #4935 from rtthread-bot/rtt_bot
[update] RT-Thread Robot automatic submission
2 parents da4617f + d545b2a commit 39c8bef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/net/lwip_dhcpd/dhcp_server.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ static void dhcpd_thread_entry(void *parameter)
306306
while (1)
307307
{
308308
bytes_read = recvfrom(sock, recv_data, BUFSZ - 1, 0,
309-
(struct sockaddr *)&client_addr, &addr_len);
309+
(struct sockaddr *)&client_addr, (socklen_t *)&addr_len);
310310
if (bytes_read <= 0)
311311
{
312312
closesocket(sock);

0 commit comments

Comments
 (0)