Fixed collision ip generation.
This commit is contained in:
parent
316d22aecd
commit
030f895c5c
1 changed files with 2 additions and 2 deletions
|
@ -95,10 +95,10 @@ public final class AnonMap
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check it does not already exist.
|
// Check it does not already exist.
|
||||||
if ((this.map.get(result) == null) && (this.unmap.get(result) == null))
|
if ((this.unmap.get(result) == null) && (this.map.get(result) == null))
|
||||||
{
|
{
|
||||||
this.map.put(ip, result);
|
this.map.put(ip, result);
|
||||||
this.unmap.put(ip, result);
|
this.unmap.put(result, ip);
|
||||||
ended = true;
|
ended = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue