aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols
diff options
context:
space:
mode:
authorIvan Kapranov <44571881+koltiradw@users.noreply.github.com>2023-06-22 19:26:33 +0300
committerGitHub <noreply@github.com>2023-06-22 18:26:33 +0200
commitaa25c06a18244a370fc69df1bc9e5052f520c499 (patch)
treec569aafe951353ee140816057f700f88b1fe806d /src/lib/protocols
parentcdc0bb8c6143e416bf6d6ec0efae74d4726dee94 (diff)
removed useless call of ndpi_set_risk func (#2022)
Diffstat (limited to 'src/lib/protocols')
-rw-r--r--src/lib/protocols/http.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/protocols/http.c b/src/lib/protocols/http.c
index f4cf31160..f1fe04723 100644
--- a/src/lib/protocols/http.c
+++ b/src/lib/protocols/http.c
@@ -1437,7 +1437,6 @@ static void ndpi_search_http_tcp(struct ndpi_detection_module_struct *ndpi_struc
ndpi_http_method ndpi_get_http_method(struct ndpi_detection_module_struct *ndpi_struct,
struct ndpi_flow_struct *flow) {
if(!flow) {
- ndpi_set_risk(ndpi_struct, flow, NDPI_MALFORMED_PACKET, (char*)"Unknown HTTP Method");
return(NDPI_HTTP_METHOD_UNKNOWN);
} else
return(flow->http.method);