mirror of
https://github.com/i2p/i2p.i2p.git
synced 2024-12-06 19:27:00 +01:00
Treat 5.0.0.0/8 (Hamachi) as local
This commit is contained in:
@@ -559,6 +559,7 @@ public abstract class TransportImpl implements Transport {
|
||||
if ((addr[0]&0xFF) >= 224) return false; // no multicast
|
||||
if ((addr[0]&0xFF) == 0) return false;
|
||||
if ( ((addr[0]&0xFF) == 169) && ((addr[1]&0xFF) == 254) ) return false;
|
||||
if ((addr[0]&0xFF) == 5) return false; // Hamachi
|
||||
return true; // or at least possible to be true
|
||||
} else if (addr.length == 16) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user