aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampus <campus@ntop.org>2017-06-07 11:27:37 +0200
committerCampus <campus@ntop.org>2017-06-07 11:27:37 +0200
commite49c9f36e80b939a9026c9a5aa6fdb96166bacac (patch)
tree63b11956a750bcdd1c368dcae5958728faac6a0b
parent9a4634adbbf360790086e6b9fd87eb4758dc972b (diff)
parent1467ad68d4077ea440be81bfa19c7032695c5a94 (diff)
Merge branch 'pavlosantoniou-dev' into dev
-rw-r--r--example/ndpiReader.c1
-rw-r--r--src/lib/protocols/tinc.c2
2 files changed, 0 insertions, 3 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c
index 142c1d5d1..337110d32 100644
--- a/example/ndpiReader.c
+++ b/example/ndpiReader.c
@@ -1288,7 +1288,6 @@ static int getTopStats(struct top_stats **topStats, struct port_stats *stats, u_
struct top_stats *s;
struct port_stats *sp, *tmp;
struct info_pair inf;
- float pkt_burst;
u_int64_t total_ip_addrs = 0;
/* stats are ordered by packet number */
diff --git a/src/lib/protocols/tinc.c b/src/lib/protocols/tinc.c
index b25aff2e7..a69d18759 100644
--- a/src/lib/protocols/tinc.c
+++ b/src/lib/protocols/tinc.c
@@ -29,8 +29,6 @@ static void ndpi_check_tinc(struct ndpi_detection_module_struct *ndpi_struct, st
struct ndpi_packet_struct *packet = &flow->packet;
const u_int8_t *packet_payload = packet->payload;
u_int32_t payload_len = packet->payload_packet_len;
- struct ndpi_id_struct *src = flow->src;
- struct ndpi_id_struct *dst = flow->dst;
if(packet->udp != NULL) {
if(ndpi_struct->tinc_cache != NULL) {