summaryrefslogtreecommitdiff
path: root/zerotierone/node/Path.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'zerotierone/node/Path.hpp')
-rw-r--r--zerotierone/node/Path.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/zerotierone/node/Path.hpp b/zerotierone/node/Path.hpp
index c88c295..ecf4be2 100644
--- a/zerotierone/node/Path.hpp
+++ b/zerotierone/node/Path.hpp
@@ -252,7 +252,7 @@ public:
*/
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 true;
}