2005-01-26 smeghead

* Added a couple of scripts, i2ptest.sh and i2pbench.sh, to manage the core
      tests and benchmarks.
    * Routerconsole now builds under gcj 3.4.3.
    * Corrected divide by zero error in TunnelId class under gcj (jrandom++).
This commit is contained in:
smeghead
2005-01-27 00:21:10 +00:00
committed by zzz
parent 690d7e30cf
commit 22ca1491bc
5 changed files with 147 additions and 4 deletions

View File

@ -27,8 +27,8 @@ public class TunnelId extends DataStructureImpl {
private long _tunnelId;
private int _type;
public static final long MAX_ID_VALUE = (1l<<32l)-1l;
public static final long MAX_ID_VALUE = (1l<<32l)-2l;
public final static int TYPE_UNSPECIFIED = 0;
public final static int TYPE_INBOUND = 1;
public final static int TYPE_OUTBOUND = 2;