1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-23 01:49:53 +03:00
This commit is contained in:
hiura2023 2024-04-29 01:24:49 +09:00 committed by GitHub
commit 8a303607c2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -9709,6 +9709,9 @@ void VirtualDhcpServer(VH *v, PKT *p)
} }
} }
else else
{
// Reply of DHCP_REQUEST must be either DHCP_ACK or DHCP_NAK.
if (opt->Opcode == DHCP_REQUEST)
{ {
// There is no IP address that can be provided // There is no IP address that can be provided
DHCP_OPTION_LIST ret; DHCP_OPTION_LIST ret;
@ -9743,6 +9746,7 @@ void VirtualDhcpServer(VH *v, PKT *p)
} }
} }
} }
}
// Release the memory // Release the memory
Free(opt); Free(opt);