mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-26 11:29:53 +03:00
Merge 6227919bc2
into 74f7269ef6
This commit is contained in:
commit
18d38779fd
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user