diff options
author | Nardi Ivan <nardi.ivan@gmail.com> | 2022-07-17 12:49:18 +0200 |
---|---|---|
committer | Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> | 2022-07-20 19:16:18 +0200 |
commit | d66aa49787cea811a8fcb585b939ce3ca5c6852e (patch) | |
tree | 73ec0b1c5bd812121930b11f776ba986c23d08b9 /src/lib/protocols/mining.c | |
parent | a9204eb9365432d3ea26b4ca930dfb380b68b4ad (diff) |
DTLS: fix exclusion of DTLS protocol
Add an helper to exclude a generic protocol
Diffstat (limited to 'src/lib/protocols/mining.c')
-rw-r--r-- | src/lib/protocols/mining.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/protocols/mining.c b/src/lib/protocols/mining.c index c12203adb..eb5e651d9 100644 --- a/src/lib/protocols/mining.c +++ b/src/lib/protocols/mining.c @@ -67,7 +67,7 @@ static void ndpi_search_mining_udp(struct ndpi_detection_module_struct *ndpi_str } } - ndpi_exclude_protocol(ndpi_struct, flow, NDPI_PROTOCOL_MINING, __FILE__, __FUNCTION__, __LINE__); + NDPI_EXCLUDE_PROTO(ndpi_struct, flow); } /* ************************************************************************** */ @@ -159,7 +159,7 @@ static void ndpi_search_mining_tcp(struct ndpi_detection_module_struct *ndpi_str } } - ndpi_exclude_protocol(ndpi_struct, flow, NDPI_PROTOCOL_MINING, __FILE__, __FUNCTION__, __LINE__); + NDPI_EXCLUDE_PROTO(ndpi_struct, flow); } /* ************************************************************************** */ |