1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2025-07-07 08:14:58 +03:00

Fix DNS resolution when no IPv6 address is configured

This commit is contained in:
Yihong Wu
2021-12-03 14:18:43 +08:00
parent 2d1c8765aa
commit 9692a8d961
3 changed files with 63 additions and 11 deletions

View File

@ -1164,6 +1164,7 @@ SOCKLIST *NewSockList();
void StopSockList(SOCKLIST *sl);
void FreeSockList(SOCKLIST *sl);
bool IsIPv6Supported();
bool HasIPv6Address();
void SetSockTos(SOCK *s, int tos);
void SetSockHighPriority(SOCK *s, bool flag);
void InitIpClientList();