aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols/tor.c
diff options
context:
space:
mode:
authorCampus <campus@ntop.org>2015-11-12 12:08:41 +0100
committerCampus <campus@ntop.org>2015-11-12 12:08:41 +0100
commita4f170604ce97b12718181fd43f506edbdb0b0d5 (patch)
treee61b9887adde422ff8b7f5fd37b01eb8993c618a /src/lib/protocols/tor.c
parent349e0b6fd22f50426e37362a92683d0478352882 (diff)
removed kernel support and #if 0s
Diffstat (limited to 'src/lib/protocols/tor.c')
-rw-r--r--src/lib/protocols/tor.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/protocols/tor.c b/src/lib/protocols/tor.c
index 036162b1f..f2c2eae4c 100644
--- a/src/lib/protocols/tor.c
+++ b/src/lib/protocols/tor.c
@@ -66,14 +66,12 @@ int ndpi_is_ssl_tor(struct ndpi_detection_module_struct *ndpi_struct,
ndpi_int_tor_add_connection(ndpi_struct, flow);
return(1);
} else {
-#ifndef __KERNEL__
#ifdef PENDANTIC_TOR_CHECK
if(gethostbyname(certificate) == NULL) {
ndpi_int_tor_add_connection(ndpi_struct, flow);
return(1);
}
#endif
-#endif
}
return(0);