aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols/dropbox.c
diff options
context:
space:
mode:
authorSimone Mainardi <simonemainardi@gmail.com>2016-07-08 15:10:33 +0200
committerSimone Mainardi <simonemainardi@gmail.com>2016-07-08 15:23:45 +0200
commit72e3930e088c9e6df51f7f314935167c63b8d0ad (patch)
treec94af77134d6de80ad01a0fcc5f988ace24c4392 /src/lib/protocols/dropbox.c
parent6fb81f146e2542cfbf7fab7d53678339c7747b35 (diff)
parent31140c8da74aaceb76709c11082e4cb2e07e11e9 (diff)
Fixes nDPI protocol initialization for Git
[NDPI] ndpi_init_protocol_defaults(missing protoId=226) INTERNAL ERROR: not all protocols have been initialized This is actually a merge of branch 'dev' into 1.8-stable.
Diffstat (limited to 'src/lib/protocols/dropbox.c')
-rw-r--r--src/lib/protocols/dropbox.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/protocols/dropbox.c b/src/lib/protocols/dropbox.c
index f51de95d2..d8babfb1b 100644
--- a/src/lib/protocols/dropbox.c
+++ b/src/lib/protocols/dropbox.c
@@ -1,7 +1,7 @@
/*
* dropbox.c
*
- * Copyright (C) 2011-13 by ntop.org
+ * Copyright (C) 2012-16 by ntop.org
*
* This file is part of nDPI, an open source deep packet inspection
* library based on the OpenDPI and PACE technology by ipoque GmbH
@@ -44,7 +44,6 @@ static void ndpi_check_dropbox(struct ndpi_detection_module_struct *ndpi_struct,
u_int32_t payload_len = packet->payload_packet_len;
if(packet->udp != NULL) {
-
u_int16_t dropbox_port = htons(DB_LSP_PORT);
if((packet->udp->source == dropbox_port)