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

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

* i2psnark: Support ports in announce URLs, 2nd try (ticket #1283)

parent ff837cf6
No related branches found
No related tags found
No related merge requests found
......@@ -854,8 +854,7 @@ public class TrackerClient implements Runnable {
return false;
}
return url.getProtocol().equals("http") &&
(url.getHost().endsWith(".i2p") || url.getHost().equals("i2p")) &&
url.getPort() < 0;
(url.getHost().endsWith(".i2p") || url.getHost().equals("i2p"));
}
/**
......
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