mirror of
https://github.com/vel21ripn/nDPI.git
synced 2026-05-05 19:15:12 +00:00
Fixes for https://github.com/ntop/nDPI/pull/911
Added code for dumping invalid HTTP header
This commit is contained in:
parent
0271e29097
commit
4ceff1dc77
3 changed files with 77 additions and 52 deletions
|
|
@ -1479,6 +1479,9 @@ const char* ndpi_risk2str(ndpi_risk_enum risk) {
|
|||
|
||||
case NDPI_HTTP_SUSPICIOUS_URL:
|
||||
return("HTTP Suspicious URL");
|
||||
|
||||
case NDPI_HTTP_SUSPICIOUS_HEADER:
|
||||
return("HTTP Suspicious Header");
|
||||
|
||||
default:
|
||||
snprintf(buf, sizeof(buf), "%d", (int)risk);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue