mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-22 17:32:28 +00:00
i2psnark: Hide UDP trackers in top list
This commit is contained in:
1 file changed
+2
@@ -396,6 +396,8 @@ public class I2PSnarkServlet extends BasicServlet {
|
||||
for (Tracker t : sortedTrackers) {
|
||||
if (t.baseURL == null || !t.baseURL.startsWith("http"))
|
||||
continue;
|
||||
if (t.announceURL == null || !t.announceURL.startsWith("http"))
|
||||
continue;
|
||||
if (_manager.util().isKnownOpenTracker(t.announceURL))
|
||||
continue;
|
||||
out.write(" <a href=\"" + t.baseURL + "\" class=\"snarkNav nav_tracker\" target=\"_blank\">" + t.name + "</a>\n");
|
||||
|
||||
Reference in new issue
Block a user