Added NDPI_PERIODIC_FLOW flow risk to be used by apps based on nDPI

This commit is contained in:
Luca Deri
2022-12-30 19:20:07 +01:00
parent 8f91b8ba72
commit 1735931f67
5 changed files with 14 additions and 1 deletions
+4
View File
@@ -2044,6 +2044,10 @@ const char* ndpi_risk2str(ndpi_risk_enum risk) {
return("HTTP Obsolete Server");
break;
case NDPI_PERIODIC_FLOW:
return("Periodic Flow");
break;
default:
ndpi_snprintf(buf, sizeof(buf), "%d", (int)risk);
return(buf);