Mercurial > stress-tester
changeset 621:aa6f7460c240
SessionInfo hashCode bugfix
author | Devel 2 |
---|---|
date | Fri, 13 Oct 2017 07:45:01 +0200 |
parents | 26f51466052b |
children | bb4d01b23f40 |
files | stress-tester/src/main/java/com/passus/st/emitter/SessionInfo.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/stress-tester/src/main/java/com/passus/st/emitter/SessionInfo.java Thu Oct 12 16:25:26 2017 +0200 +++ b/stress-tester/src/main/java/com/passus/st/emitter/SessionInfo.java Fri Oct 13 07:45:01 2017 +0200 @@ -67,7 +67,7 @@ this.srcIp = srcIp; this.dstIp = dstIp; this.sessionStatus = 0; - this.hashCode = (srcPort + dstPort << 16) ^ srcIp.hashCode() ^ dstIp.hashCode(); + this.hashCode = (srcPort + (dstPort << 16)) ^ srcIp.hashCode() ^ dstIp.hashCode(); } public String getSourceName() {