aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2017-02-04 09:39:16 +0100
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2017-02-04 10:11:28 +0100
commitbe1ee30fa82721460682b0cfa2eb4f5e9d0b03c2 (patch)
treeef084de23ee261878a91ae28156678e8c7cbc16b /src
parent99410454681b75b3a40330ac38b886c53ecd070d (diff)
ndpi_main(.c): fix unused function 'tor_ptree_match' [-Werror,-Wunused-function]
Diffstat (limited to 'src')
-rw-r--r--src/lib/ndpi_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c
index 5a6a935ae..20b27c7fe 100644
--- a/src/lib/ndpi_main.c
+++ b/src/lib/ndpi_main.c
@@ -1668,9 +1668,11 @@ u_int16_t ndpi_network_ptree_match(struct ndpi_detection_module_struct *ndpi_str
/* ******************************************* */
+#if 0
static u_int8_t tor_ptree_match(struct ndpi_detection_module_struct *ndpi_struct, struct in_addr *pin) {
return((ndpi_network_ptree_match(ndpi_struct, pin) == NDPI_PROTOCOL_TOR) ? 1 : 0);
}
+#endif
/* ******************************************* */