forked from I2P_Developers/i2p.i2p
* i2psnark: Support ports in announce URLs, 2nd try (ticket #1283)
This commit is contained in:
@ -854,8 +854,7 @@ public class TrackerClient implements Runnable {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return url.getProtocol().equals("http") &&
|
return url.getProtocol().equals("http") &&
|
||||||
(url.getHost().endsWith(".i2p") || url.getHost().equals("i2p")) &&
|
(url.getHost().endsWith(".i2p") || url.getHost().equals("i2p"));
|
||||||
url.getPort() < 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user