[Redirector] Fix build

This commit is contained in:
Connection Refused
2021-10-14 23:46:44 +08:00
parent e9cfce11a5
commit 9cd24b3df8
3 changed files with 4 additions and 4 deletions

View File

@@ -425,7 +425,7 @@ void udpBeginReceive(ENDPOINT_ID id, SocksHelper::PUDP udpConn, PNF_UDP_OPTIONS
{
SOCKADDR_IN6 target;
int length = udpConn->Read(&target, buffer, sizeof(buffer));
int length = udpConn->Read(&target, buffer, sizeof(buffer), NULL);
if (length == 0 || length == SOCKET_ERROR)
{
break;