Removed unused NDPI_RISKY_COUNTRY

This commit is contained in:
Luca Deri
2021-02-21 21:45:46 +01:00
parent fc16c9368e
commit 5ad056e99b
2 changed files with 1 additions and 4 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ typedef enum {
NDPI_HTTP_SUSPICIOUS_CONTENT,
NDPI_RISKY_ASN,
NDPI_RISKY_DOMAIN,
NDPI_RISKY_COUNTRY,
/* Leave this as last member */
NDPI_MAX_RISK /* must be <= 31 due to (**) */
-3
View File
@@ -1759,9 +1759,6 @@ const char* ndpi_risk2str(ndpi_risk_enum risk) {
case NDPI_RISKY_DOMAIN:
return("Risky domain name");
case NDPI_RISKY_COUNTRY:
return("Risky country name");
default:
snprintf(buf, sizeof(buf), "%d", (int)risk);
return(buf);