[Redirector] Optimize code

This commit is contained in:
Connection Refused
2021-10-04 18:58:25 +08:00
parent fe59ae7a9e
commit 16d4d07b3b
2 changed files with 20 additions and 22 deletions

View File

@@ -413,7 +413,6 @@ int SocksHelper::UDP::Read(PSOCKADDR_IN6 target, char* buffer, int length)
}
SOCKADDR_IN6 addr;
if (buffer[3] == 0x01)
{
auto ipv4 = (PSOCKADDR_IN)&addr;