Router: Validate tunnel ID in requests

Fix max ID
This commit is contained in:
zzz committed 2018-03-07 18:06:46 +00:00
1 parent ceac733b66
commit 7433eeb5c0
5 files changed
+16 -6

No files matched your search

+1 -1
View File
@@ -27,7 +27,7 @@ import java.io.OutputStream;
public class TunnelId extends DataStructureImpl {
private long _tunnelId;
public static final long MAX_ID_VALUE = (1L << 32) - 2L;
public static final long MAX_ID_VALUE = 0xffffffffL;
public TunnelId() {
_tunnelId = -1;