Fixed incorrect calculating hash from quic_cid_t
This commit is contained in:
parent
6b990690e8
commit
5cd9646e72
|
@ -869,7 +869,7 @@ quic_connection_hash(gconstpointer key)
|
||||||
{
|
{
|
||||||
const quic_cid_t *cid = (const quic_cid_t *)key;
|
const quic_cid_t *cid = (const quic_cid_t *)key;
|
||||||
|
|
||||||
return wmem_strong_hash((const guint8 *)cid, cid->len);
|
return wmem_strong_hash((const guint8 *)cid, sizeof(quic_cid_t) - sizeof(cid->cid) + cid->len);
|
||||||
}
|
}
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
|
|
Loading…
Reference in New Issue