1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-23 01:49:53 +03:00

Compare commits

...

3 Commits

Author SHA1 Message Date
hiura2023
8a303607c2
Merge 6227919bc2 into 9ce27f363e 2024-04-29 01:24:49 +09:00
hiura2023
6227919bc2
Merge branch 'SoftEtherVPN:master' into master 2024-04-26 12:44:30 +09:00
hiura
7f074d0c0b Fix Virtual DHCP Server: Correct HDCP Sequence 2024-04-26 12:42:27 +09:00

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