Small fixes after latest commits (#1308)

This commit is contained in:
Ivan Nardi
2021-09-18 09:31:00 +02:00
committed by GitHub
parent 227e586e63
commit 994bd0696b
5 changed files with 14 additions and 13 deletions
+1 -1
View File
@@ -202,7 +202,7 @@ int quic_len(const uint8_t *buf, uint64_t *value)
/* Necessary as simple cast crashes on ARM */
memcpy(&n, buf, sizeof(u_int64_t));
*value = ndpi_ntohll(n & 0x3FFFFFFFFFFFFFFF);
*value = ndpi_ntohll(n) & 0x3FFFFFFFFFFFFFFF;
}
return 8;
default: /* No Possible */