forked from I2P_Developers/i2p.i2p
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