mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-05 03:53:44 +02:00
IPv6 links are unfortunately not "reliable." Many IPv6 gateways, while not
implementing NAT, do implement stateful firewalling with absurdly short timeouts (<60s). Keepalives are still required in IPv6. Network engineers continue to mindlessly carry forward cruft and baggage from IPv4 to IPv6.
This commit is contained in:
parent
68d950c344
commit
2c995f1f91
1 changed files with 1 additions and 1 deletions
|
@ -252,7 +252,7 @@ public:
|
||||||
*/
|
*/
|
||||||
inline bool reliable() const throw()
|
inline bool reliable() const throw()
|
||||||
{
|
{
|
||||||
if (_addr.ss_family == AF_INET)
|
if ((_addr.ss_family == AF_INET)||(_addr.ss_family == AF_INET6))
|
||||||
return ((_ipScope != InetAddress::IP_SCOPE_GLOBAL)&&(_ipScope != InetAddress::IP_SCOPE_PSEUDOPRIVATE));
|
return ((_ipScope != InetAddress::IP_SCOPE_GLOBAL)&&(_ipScope != InetAddress::IP_SCOPE_PSEUDOPRIVATE));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue