diff options
author | Luca <deri@ntop.org> | 2022-10-04 22:31:42 +0200 |
---|---|---|
committer | Luca <deri@ntop.org> | 2022-10-04 22:32:45 +0200 |
commit | 37c88b129f6f5a3475dc6364cc4a898df9ff37ab (patch) | |
tree | 23592c10fdfaf504838ac402a19bfbbbff4b9b73 /src/lib/ndpi_utils.c | |
parent | cca585053e86b70b86c12296531a882847e8dd87 (diff) |
Added new flow risk NDPI_HTTP_OBSOLETE_SERVER. Currently Apache and nginx are supported
Diffstat (limited to 'src/lib/ndpi_utils.c')
-rw-r--r-- | src/lib/ndpi_utils.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/ndpi_utils.c b/src/lib/ndpi_utils.c index 7a34b0b76..9d5ea70bc 100644 --- a/src/lib/ndpi_utils.c +++ b/src/lib/ndpi_utils.c @@ -1934,6 +1934,10 @@ const char* ndpi_risk2str(ndpi_risk_enum risk) { return("Unidirectional Traffic"); break; + case NDPI_HTTP_OBSOLETE_SERVER: + return("HTTP Obsolete Server"); + break; + default: ndpi_snprintf(buf, sizeof(buf), "%d", (int)risk); return(buf); |