mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-22 09:29:52 +03:00
Merge pull request #1432 from domosekai/route
Mayaqua/TcpIp.c: Fix building DHCP static routes in new format
This commit is contained in:
commit
ddf9e48c10
@ -3846,7 +3846,7 @@ BUF *DhcpBuildClasslessRouteData(DHCP_CLASSLESS_ROUTE_TABLE *t)
|
|||||||
// Number of significant octets
|
// Number of significant octets
|
||||||
data_len = (r->SubnetMaskLen + 7) / 8;
|
data_len = (r->SubnetMaskLen + 7) / 8;
|
||||||
Zero(tmp, sizeof(tmp));
|
Zero(tmp, sizeof(tmp));
|
||||||
Copy(tmp, &r->Network, data_len);
|
Copy(tmp, IPV4(r->Network.address), data_len);
|
||||||
WriteBuf(b, tmp, data_len);
|
WriteBuf(b, tmp, data_len);
|
||||||
|
|
||||||
// Gateway
|
// Gateway
|
||||||
|
Loading…
Reference in New Issue
Block a user