diff options
author | Campus <campus@ntop.org> | 2016-10-03 14:36:51 +0200 |
---|---|---|
committer | Campus <campus@ntop.org> | 2016-10-03 14:36:51 +0200 |
commit | 7e8e243e68bc6bc4d979e03887d57d75fd36f00b (patch) | |
tree | f3aee961eccb4b6a7bfef71773eb390ae25605a2 /src/lib/protocols/ftp_control.c | |
parent | cf470ec03825fcd4deb58b4c43b39595dd044125 (diff) |
fix check for issue https://github.com/ntop/nDPI/issues/272
Diffstat (limited to 'src/lib/protocols/ftp_control.c')
-rw-r--r-- | src/lib/protocols/ftp_control.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/protocols/ftp_control.c b/src/lib/protocols/ftp_control.c index 7576f7567..e9ed7ee45 100644 --- a/src/lib/protocols/ftp_control.c +++ b/src/lib/protocols/ftp_control.c @@ -935,6 +935,7 @@ static int ndpi_ftp_control_check_response(const u_int8_t *payload, size_t paylo } static void ndpi_check_ftp_control(struct ndpi_detection_module_struct *ndpi_struct, struct ndpi_flow_struct *flow) { + struct ndpi_packet_struct *packet = &flow->packet; u_int32_t payload_len = packet->payload_packet_len; |