mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-12-25 09:39:52 +03:00
Use macro 'MAX' instead of 'max'
This commit is contained in:
parent
c36d7187a8
commit
9a009d750a
@ -4272,7 +4272,7 @@ BUF *DhcpModify(DHCP_MODIFY_OPTION *m, void *data, UINT size)
|
||||
ret_ok = true;
|
||||
|
||||
// If src_size is greater than DHCP_MIN_SIZE, then use the src_size as minimum size of DHCP.
|
||||
dhcp_min_size = max(src_size, DHCP_MIN_SIZE);
|
||||
dhcp_min_size = MAX(src_size, DHCP_MIN_SIZE);
|
||||
if (ret->Size < dhcp_min_size)
|
||||
{
|
||||
// Padding
|
||||
|
Loading…
Reference in New Issue
Block a user