diff options
author | Luca Deri <deri@ntop.org> | 2021-01-02 21:21:15 +0100 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2021-01-02 21:21:15 +0100 |
commit | a91e6179c5e19cd7769247614680a5e99f1b7cfc (patch) | |
tree | 8dfa80a18acce1a4d61ebb8792a5259ca7c943e5 /src/lib | |
parent | 05d76525b0ee93164001405e4a9ff82e5caa025c (diff) |
Fixed missing symbol
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/protocols/http.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/protocols/http.c b/src/lib/protocols/http.c index 70750fbe0..3cfc0a394 100644 --- a/src/lib/protocols/http.c +++ b/src/lib/protocols/http.c @@ -825,8 +825,8 @@ static void ndpi_check_http_tcp(struct ndpi_detection_module_struct *ndpi_struct ); #endif - if(strnstr((const char *)packet->content_line.ptr, "text/", packet->content_line.len) - || strnstr((const char *)packet->content_line.ptr, "/json", packet->content_line.len) + if(ndpi_strnstr((const char *)packet->content_line.ptr, "text/", packet->content_line.len) + || ndpi_strnstr((const char *)packet->content_line.ptr, "/json", packet->content_line.len) ) { /* This is supposed to be a hunan-readeable text file */ |