diff options
author | Luca <deri@ntop.org> | 2019-04-05 12:47:58 +0200 |
---|---|---|
committer | Luca <deri@ntop.org> | 2019-04-05 12:47:58 +0200 |
commit | 4e7fa82affc876245ab7f008271a49bde80bcf9f (patch) | |
tree | 8653fd3892e119f106b5649192ef38b1be9e088a /src/include/ndpi_main.h | |
parent | 5656a41f696e8073de28be5bdbd909fda108ee78 (diff) |
Fixed false positive with FTP_DATA protocol
Added coherency in application protol guess by exploiting the host server name
Various protocol optimizations
Diffstat (limited to 'src/include/ndpi_main.h')
-rw-r--r-- | src/include/ndpi_main.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/ndpi_main.h b/src/include/ndpi_main.h index e37576289..5ec98f6d9 100644 --- a/src/include/ndpi_main.h +++ b/src/include/ndpi_main.h @@ -124,7 +124,7 @@ extern "C" { u_int8_t proto, u_int16_t sport, u_int16_t dport, u_int8_t *user_defined_proto); - extern u_int8_t ndpi_is_proto(ndpi_protocol p, u_int16_t proto); + extern u_int8_t ndpi_is_proto(ndpi_protocol proto, u_int16_t p); extern u_int16_t ndpi_get_lower_proto(ndpi_protocol p); extern int ndpi_get_protocol_id_master_proto(struct ndpi_detection_module_struct *ndpi_struct, |