I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 05344406 authored by zzz's avatar zzz
Browse files

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

parent c2fa2d0c
No related branches found
No related tags found
No related merge requests found
...@@ -144,6 +144,9 @@ public abstract class TransportUtil { ...@@ -144,6 +144,9 @@ public abstract class TransportUtil {
// Hamachi IPv6 // Hamachi IPv6
if (addr[0] == 0x26 && addr[1] == 0x20 && addr[2] == 0x00 && (addr[3] & 0xff) == 0x9b) if (addr[0] == 0x26 && addr[1] == 0x20 && addr[2] == 0x00 && (addr[3] & 0xff) == 0x9b)
return false; return false;
// 6bone RFC 2471
if (addr[0] == 0x3f && (addr[1] & 0xff) == 0xfe)
return false;
try { try {
InetAddress ia = InetAddress.getByAddress(addr); InetAddress ia = InetAddress.getByAddress(addr);
return return
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment