diff options
author | Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> | 2022-12-22 21:41:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-22 21:41:32 +0100 |
commit | 5fafe8374a5cc0cc890053c5bf0cb81b3bda80c9 (patch) | |
tree | 41a82c662550d5aaab0c31e45875106c61e3949e /src/lib/protocols/sopcast.c | |
parent | e9d5e72fb58d5989673487c4b4ef4584d8694467 (diff) |
postgres: improve detection (#1831)
Remove some dead code (found via coverage report)
Diffstat (limited to 'src/lib/protocols/sopcast.c')
-rw-r--r-- | src/lib/protocols/sopcast.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/lib/protocols/sopcast.c b/src/lib/protocols/sopcast.c index 7d44cabaa..b903538cc 100644 --- a/src/lib/protocols/sopcast.c +++ b/src/lib/protocols/sopcast.c @@ -51,9 +51,6 @@ __forceinline static #endif u_int8_t ndpi_int_is_sopcast_tcp(const u_int8_t * payload, const u_int16_t payload_len) { - if (payload_len != 54) - return 0; - if (payload[2] != payload[3] - 4 && payload[2] != payload[3] + 4) return 0; |