1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-22 17:39:53 +03:00

Fix Virtual DHCP Server: Correct HDCP Sequence

This commit is contained in:
hiura 2024-04-26 12:42:27 +09:00
parent 9a009d750a
commit 7f074d0c0b

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