aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols/tor.c
diff options
context:
space:
mode:
authorMichele Campus <fci1908@gmail.com>2015-11-12 14:57:02 +0100
committerMichele Campus <fci1908@gmail.com>2015-11-12 14:57:02 +0100
commitdd3a79dac2bd67ce4ef5bb8fde0fb5936d8d4d81 (patch)
treee61b9887adde422ff8b7f5fd37b01eb8993c618a /src/lib/protocols/tor.c
parent63cab68a9687f48a955f1edf35c7230b7a0c2d2d (diff)
parenta4f170604ce97b12718181fd43f506edbdb0b0d5 (diff)
Merge pull request #114 from kYroL01/dev
Refactoring nDPI
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);