SSU: Fix minimum version check for IPv6 peer test (ticket #1861)

This commit is contained in:
zzz
2016-10-20 18:31:32 +00:00
parent 022479aff9
commit 9b27251473
3 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2016-10-20 zzz
* Build: Add library jars to i2p.jar classpath for Debian builds
* Console: Fix HTML error on /configservice
* Debian: Update package descriptions, allow Java 9
* i2psnark: Add ids to rows, add to per-torrent show peers link
* SSU: Fix minimum version check for IPv6 peer test (ticket #1861)
* 2016-10-17 0.9.27 released
2016-10-16 zzz

View File

@ -18,7 +18,7 @@ public class RouterVersion {
/** deprecated */
public final static String ID = "Monotone";
public final static String VERSION = CoreVersion.VERSION;
public final static long BUILD = 0;
public final static long BUILD = 1;
/** for example "-test" */
public final static String EXTRA = "";

View File

@ -3238,7 +3238,7 @@ public class UDPTransport extends TransportImpl implements TimedWeightedPriority
continue;
if (isIPv6) {
String v = peerInfo.getVersion();
if (VersionComparator.comp(v, MIN_SIGTYPE_VERSION) < 0)
if (VersionComparator.comp(v, MIN_V6_PEER_TEST_VERSION) < 0)
continue;
}
ip = null;