summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--node/Path.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/Path.hpp b/node/Path.hpp
index c88c2958..ecf4be24 100644
--- a/node/Path.hpp
+++ b/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;
}