diff options
author | Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> | 2025-05-25 17:49:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-25 17:49:52 +0200 |
commit | 46dff3474e5c6df46ed2dafc476070fc2e3076f6 (patch) | |
tree | 7b6035f003653d51b0f4746e69990a814d487508 /src/lib/protocols/memcached.c | |
parent | b1f0c6ceb5f1bb81b404d26f071dc78a2f23ffdd (diff) |
Fix some warnings reported by scan-build (#2851)
Close #2807
Diffstat (limited to 'src/lib/protocols/memcached.c')
-rw-r--r-- | src/lib/protocols/memcached.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/protocols/memcached.c b/src/lib/protocols/memcached.c index fcabbd0f7..9fc477bae 100644 --- a/src/lib/protocols/memcached.c +++ b/src/lib/protocols/memcached.c @@ -118,7 +118,7 @@ static void ndpi_search_memcached(struct ndpi_detection_module_struct *ndpi_stru matches = &flow->l4.tcp.memcached_matches; } - else if (packet->udp != NULL) { + else { if (packet->payload_packet_len < MEMCACHED_MIN_UDP_LEN) { NDPI_EXCLUDE_DISSECTOR(ndpi_struct, flow); return; |