aboutsummaryrefslogtreecommitdiff
path: root/src/lib/ndpi_main.c
diff options
context:
space:
mode:
authorLuca Deri <lucaderi@users.noreply.github.com>2019-11-03 17:13:18 +0100
committerGitHub <noreply@github.com>2019-11-03 17:13:18 +0100
commit02d69b72f54a30ec48045832fc40e0909e0f413d (patch)
treed8f59367edce83b5ce8f56cf659bc26ee4cb594f /src/lib/ndpi_main.c
parentc998e2e9ef23c8435523910e0c4c907e23713d88 (diff)
parent124545e1ed70e5c3e8a0e6d582f1f52c003b84a4 (diff)
Merge pull request #803 from haroflow/dev
Updated Breed's descriptions in ndpi_get_proto_breed_name
Diffstat (limited to 'src/lib/ndpi_main.c')
-rw-r--r--src/lib/ndpi_main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c
index e71ca668e..6fe1e8065 100644
--- a/src/lib/ndpi_main.c
+++ b/src/lib/ndpi_main.c
@@ -5940,9 +5940,11 @@ char* ndpi_get_proto_breed_name(struct ndpi_detection_module_struct *ndpi_str,
return("Unsafe");
break;
case NDPI_PROTOCOL_POTENTIALLY_DANGEROUS:
+ return("Potentially Dangerous");
+ break;
+ case NDPI_PROTOCOL_DANGEROUS:
return("Dangerous");
break;
-
case NDPI_PROTOCOL_UNRATED:
default:
return("Unrated");