diff options
author | Campus <campus@ntop.org> | 2016-04-04 00:10:43 +0200 |
---|---|---|
committer | Campus <campus@ntop.org> | 2016-04-04 00:10:43 +0200 |
commit | 3d46f3df61af0473299c3f7d9cecc37d8b31c33a (patch) | |
tree | c5718f7f57b6a272e9252c38f63c7e18c039b555 /src/lib/protocols/dropbox.c | |
parent | 697617622cf11e7cc6a384efb81510aa146dfb50 (diff) |
fixed wrong dropbox detection
Diffstat (limited to 'src/lib/protocols/dropbox.c')
-rw-r--r-- | src/lib/protocols/dropbox.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/lib/protocols/dropbox.c b/src/lib/protocols/dropbox.c index 63a1f5531..f51de95d2 100644 --- a/src/lib/protocols/dropbox.c +++ b/src/lib/protocols/dropbox.c @@ -58,17 +58,6 @@ static void ndpi_check_dropbox(struct ndpi_detection_module_struct *ndpi_struct, } } } - if((packet->udp->dest == dropbox_port)) { - if(payload_len > 2) { - char * p = (char *) packet->payload; - while(*p++ != '{'); - if(strncmp(p,"\"messageType\"", 13) == 0) { - NDPI_LOG(NDPI_PROTOCOL_DROPBOX, ndpi_struct, NDPI_LOG_DEBUG, "Found dropbox.\n"); - ndpi_int_dropbox_add_connection(ndpi_struct, flow, 0); - return; - } - } - } } NDPI_LOG(NDPI_PROTOCOL_DROPBOX, ndpi_struct, NDPI_LOG_DEBUG, "exclude dropbox.\n"); |