1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-09-13 15:23:00 +03:00
This commit is contained in:
hiura2023 2024-04-26 06:40:04 +00:00 committed by GitHub
commit 18d38779fd
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
{
// 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
DHCP_OPTION_LIST ret;
@ -9743,6 +9746,7 @@ void VirtualDhcpServer(VH *v, PKT *p)
}
}
}
}
// Release the memory
Free(opt);