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

Fix the creation of a zero IPv6 address

Fix #1517
This commit is contained in:
Yihong Wu 2021-12-12 17:21:11 +08:00
parent b91d9af5e3
commit fc94843579

View File

@ -330,7 +330,7 @@ bool DnsResolve(IP *ipv6, IP *ipv4, const char *hostname, UINT timeout, volatile
}
else
{
Zero(ipv6, sizeof(ipv6));
Zero(ipv6, sizeof(IP));
}
if (ipv4 != NULL && LIST_NUM(iplist_v4) > 0)