1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2025-09-23 11:49:21 +03:00
This commit is contained in:
hiura2023
2024-04-26 06:40:04 +00:00
committed by GitHub

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);