Browse Source

nfqws: cosmetics

pull/98/head
bol-van 3 years ago
parent
commit
ad5588ebf1
  1. 2
      nfq/protocol.c

2
nfq/protocol.c

@ -551,7 +551,7 @@ bool IsQUICInitial(const uint8_t *data, size_t len)
if (offset >= len) return false;
// payload length
if ((offset + tvb_get_size(data[offset])) >= len) return false;
if ((offset + tvb_get_size(data[offset])) > len) return false;
tvb_get_varint(data + offset, &sz);
offset += sz;
if (offset > len) return false;

Loading…
Cancel
Save