ndpi_main(.c): fix unused function 'tor_ptree_match' [-Werror,-Wunused-function]

This commit is contained in:
Alexis La Goutte
2017-02-04 10:11:28 +01:00
parent 9941045468
commit be1ee30fa8
+2
View File
@@ -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
/* ******************************************* */