- Treat 6bone 3ffe::/16 as local

This commit is contained in:
zzz
2013-10-05 14:04:40 +00:00
parent c2fa2d0c5b
commit 0534440695

View File

@ -144,6 +144,9 @@ public abstract class TransportUtil {
// Hamachi IPv6
if (addr[0] == 0x26 && addr[1] == 0x20 && addr[2] == 0x00 && (addr[3] & 0xff) == 0x9b)
return false;
// 6bone RFC 2471
if (addr[0] == 0x3f && (addr[1] & 0xff) == 0xfe)
return false;
try {
InetAddress ia = InetAddress.getByAddress(addr);
return