aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols/ppstream.c
diff options
context:
space:
mode:
authorCampus <campus@ntop.org>2016-10-07 11:37:42 +0200
committerCampus <campus@ntop.org>2016-10-07 11:37:42 +0200
commit2c47dca086940c643f98ad5e868899f84b61dd82 (patch)
tree598acb5b3a7623b495c491bd793cc4f97f6a28d6 /src/lib/protocols/ppstream.c
parent7e8e243e68bc6bc4d979e03887d57d75fd36f00b (diff)
fixed some dissector for logic or syntax
Diffstat (limited to 'src/lib/protocols/ppstream.c')
-rw-r--r--src/lib/protocols/ppstream.c14
1 files changed, 3 insertions, 11 deletions
diff --git a/src/lib/protocols/ppstream.c b/src/lib/protocols/ppstream.c
index d60966798..f3323697b 100644
--- a/src/lib/protocols/ppstream.c
+++ b/src/lib/protocols/ppstream.c
@@ -1,8 +1,7 @@
/*
* ppstream.c
*
- * Copyright (C) 2009-2011 by ipoque GmbH
- * Copyright (C) 2011-15 - ntop.org
+ * Copyright (C) 2016 - 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
@@ -21,9 +20,8 @@
* along with nDPI. If not, see <http://www.gnu.org/licenses/>.
*
*/
-
-
#include "ndpi_protocols.h"
+
#ifdef NDPI_PROTOCOL_PPSTREAM
static void ndpi_int_ppstream_add_connection(struct ndpi_detection_module_struct
@@ -36,13 +34,7 @@ void ndpi_search_ppstream(struct ndpi_detection_module_struct
*ndpi_struct, struct ndpi_flow_struct *flow)
{
struct ndpi_packet_struct *packet = &flow->packet;
-
-
- // struct ndpi_id_struct *src=ndpi_struct->src;
- // struct ndpi_id_struct *dst=ndpi_struct->dst;
-
-
-
+
/* check TCP Connections -> Videodata */
if (packet->tcp != NULL) {
if (packet->payload_packet_len >= 60 && get_u_int32_t(packet->payload, 52) == 0