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

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

i2psnark: Fix mixed public/private tracker detection

          (thx str4d)
parent ce0596d5
No related branches found
No related tags found
No related merge requests found
...@@ -946,7 +946,7 @@ public class I2PSnarkServlet extends BasicServlet { ...@@ -946,7 +946,7 @@ public class I2PSnarkServlet extends BasicServlet {
boolean hasPrivate = false; boolean hasPrivate = false;
boolean hasPublic = false; boolean hasPublic = false;
for (String url : backupURLs) { for (String url : backupURLs) {
if (_manager.getPrivateTrackers().contains(announceURL)) if (_manager.getPrivateTrackers().contains(url))
hasPrivate = true; hasPrivate = true;
else else
hasPublic = true; hasPublic = true;
......
...@@ -18,7 +18,7 @@ public class RouterVersion { ...@@ -18,7 +18,7 @@ public class RouterVersion {
/** deprecated */ /** deprecated */
public final static String ID = "Monotone"; public final static String ID = "Monotone";
public final static String VERSION = CoreVersion.VERSION; public final static String VERSION = CoreVersion.VERSION;
public final static long BUILD = 33; public final static long BUILD = 34;
/** for example "-test" */ /** for example "-test" */
public final static String EXTRA = "-rc"; public final static String EXTRA = "-rc";
......
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