summaryrefslogtreecommitdiff
path: root/node
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2016-05-31 10:30:00 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2016-05-31 10:30:00 -0700
commit2c995f1f91a05870404ecbabc9ee4480e3cbb811 (patch)
tree68ae32557e35a5bfaa7825c04ed11e8194aef749 /node
parent68d950c3443b3454fdcdd301e339a5692967c7b1 (diff)
downloadinfinitytier-2c995f1f91a05870404ecbabc9ee4480e3cbb811.tar.gz
infinitytier-2c995f1f91a05870404ecbabc9ee4480e3cbb811.zip
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.
Diffstat (limited to 'node')
-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;
}