In ParserPCAP.ts, CIDs is not updated correctly when a new CID is in index 0 of the client/serverIssuedCIDs.
.indexOf() should be used with > -1 to check existence of a member,
otherwise .includes() would be the better method (available with ECMAScript 2016)
In ParserPCAP.ts, CIDs is not updated correctly when a new CID is in index 0 of the client/serverIssuedCIDs.
.indexOf()
should be used with> -1
to check existence of a member, otherwise.includes()
would be the better method (available with ECMAScript 2016)