diff options
author | Vladimir Gavrilov <105977161+0xA50C1A1@users.noreply.github.com> | 2024-01-29 11:25:29 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-29 09:25:29 +0100 |
commit | fb095a339db96151bd69e1b6c221906a856f4d7c (patch) | |
tree | 1f45001dcad3c29ca3f5c423c6135e322d256a8a /src/lib/protocols/hislip.c | |
parent | c807d84054f605202bd9633092b16627a8a5e790 (diff) |
Add missing NDPI_LOG_DBG in some dissectors (#2290)
* Add missing NDPI_LOG_DBG
* Add missing NDPI_LOG_DBG in yojimbo.c
Diffstat (limited to 'src/lib/protocols/hislip.c')
-rw-r--r-- | src/lib/protocols/hislip.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/protocols/hislip.c b/src/lib/protocols/hislip.c index fbb04d545..28df9017d 100644 --- a/src/lib/protocols/hislip.c +++ b/src/lib/protocols/hislip.c @@ -46,6 +46,8 @@ static void ndpi_search_hislip(struct ndpi_detection_module_struct *ndpi_struct, { struct ndpi_packet_struct const * const packet = &ndpi_struct->packet; + NDPI_LOG_DBG(ndpi_struct, "search HiSLIP\n"); + if ((packet->payload_packet_len >= 16) && (memcmp(packet->payload, "HS", 2) == 0) && ((packet->payload[2] - 26) < 0x65) && (ndpi_ntohll(get_u_int64_t(packet->payload, 8)) == (u_int64_t)(packet->payload_packet_len - 16))) |