From 1735931f675eb9a70e3f2ea9dda9db8b6636f2bd Mon Sep 17 00:00:00 2001 From: Luca Deri Date: Fri, 30 Dec 2022 19:20:07 +0100 Subject: Added NDPI_PERIODIC_FLOW flow risk to be used by apps based on nDPI --- src/include/ndpi_typedefs.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/include') diff --git a/src/include/ndpi_typedefs.h b/src/include/ndpi_typedefs.h index 16612ce87..fde132e56 100644 --- a/src/include/ndpi_typedefs.h +++ b/src/include/ndpi_typedefs.h @@ -120,8 +120,9 @@ typedef enum { NDPI_UNIDIRECTIONAL_TRAFFIC, /* NOTE: as nDPI can detect a protocol with one packet, make sure your app will clear this risk if future packets (not sent to nDPI) are received in the opposite direction */ - NDPI_HTTP_OBSOLETE_SERVER, + NDPI_PERIODIC_FLOW, /* Set in case a flow repeats at a specific pace [used by apps on top of nDPI] */ + /* Leave this as last member */ NDPI_MAX_RISK /* must be <= 63 due to (**) */ } ndpi_risk_enum; -- cgit v1.2.3