Fix typos (#2204)
* Fix typo in ndpiSimpleIntegration.c * Fix misspelling in a comment
This commit is contained in:
@@ -2746,7 +2746,7 @@ static void setupDetection(u_int16_t thread_id, pcap_t * pcap_handle) {
|
|||||||
i, lru_cache_ttls[i]);
|
i, lru_cache_ttls[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Set aggressiviness here */
|
/* Set aggressiveness here */
|
||||||
for(i = 0; i < NDPI_MAX_SUPPORTED_PROTOCOLS; i++) {
|
for(i = 0; i < NDPI_MAX_SUPPORTED_PROTOCOLS; i++) {
|
||||||
if(aggressiveness[i] != -1)
|
if(aggressiveness[i] != -1)
|
||||||
ndpi_set_protocol_aggressiveness(ndpi_thread_info[thread_id].workflow->ndpi_struct, i, aggressiveness[i]);
|
ndpi_set_protocol_aggressiveness(ndpi_thread_info[thread_id].workflow->ndpi_struct, i, aggressiveness[i]);
|
||||||
|
|||||||
@@ -1146,7 +1146,7 @@ static void sighandler(int signum)
|
|||||||
int main(int argc, char ** argv)
|
int main(int argc, char ** argv)
|
||||||
{
|
{
|
||||||
if (argc == 0) {
|
if (argc == 0) {
|
||||||
printf("usage: ndpiSimpleIntegration Mdevice name>\n");
|
printf("usage: ndpiSimpleIntegration <device name>\n");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user