mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-06 20:43:44 +02:00
Consider IPv6 paths reliable (no constant keepalives needed)
This commit is contained in:
parent
0d0039674f
commit
11ff96ba1d
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ public:
|
||||||
*/
|
*/
|
||||||
inline bool reliable() const throw()
|
inline bool reliable() const throw()
|
||||||
{
|
{
|
||||||
return ((_ipScope != InetAddress::IP_SCOPE_GLOBAL)&&(_ipScope != InetAddress::IP_SCOPE_PSEUDOPRIVATE));
|
return ( (_addr.ss_family == AF_INET6) || ((_ipScope != InetAddress::IP_SCOPE_GLOBAL)&&(_ipScope != InetAddress::IP_SCOPE_PSEUDOPRIVATE)) );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue