diff options
author | Luca Deri <lucaderi@users.noreply.github.com> | 2019-01-13 11:10:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-13 11:10:36 +0100 |
commit | f41ffe136a8736a2b6b4d884136d1c447c440b4e (patch) | |
tree | 09f4bd8d261917fa28c8d6bb57ca4244dbf1b239 | |
parent | 97bdfe295d3f7318d1eac3e0020b3b13004f008d (diff) | |
parent | 1d155ab2ebb29f30e830713c1b8eefecd03a16d1 (diff) |
Merge pull request #655 from u-devel/dev
FIX H.323 broken detection
-rw-r--r-- | src/lib/protocols/h323.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/protocols/h323.c b/src/lib/protocols/h323.c index ddbcdadf3..d407c981b 100644 --- a/src/lib/protocols/h323.c +++ b/src/lib/protocols/h323.c @@ -31,8 +31,7 @@ void ndpi_search_h323(struct ndpi_detection_module_struct *ndpi_struct, struct n /* H323 */ if(packet->payload_packet_len >= 3 && (packet->payload[0] == 0x03) - && (packet->payload[1] == 0x00) - && (packet->payload[2] == 0x00)) { + && (packet->payload[1] == 0x00)) { struct tpkt *t = (struct tpkt*)packet->payload; u_int16_t len = ntohs(t->len); |