Merge pull request #335 from alagoutte/warning

ndpi_main(.c): fix unused function 'tor_ptree_match' [-Werror,-Wunuse…
This commit is contained in:
Michele Campus
2017-02-04 12:22:22 +01:00
committed by GitHub
+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
/* ******************************************* */