aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrl1987 <rl1987@users.noreply.github.com>2023-12-10 22:58:22 +0400
committerGitHub <noreply@github.com>2023-12-10 19:58:22 +0100
commit59d476195cb3ac5cf6bd139f43698c3cdc1a8b7a (patch)
treefe36d355945673701ab905328c32d8838754a791
parentc809e7c0691a77e84036df78067e482700263c71 (diff)
Fix typos (#2204)
* Fix typo in ndpiSimpleIntegration.c * Fix misspelling in a comment
-rw-r--r--example/ndpiReader.c2
-rw-r--r--example/ndpiSimpleIntegration.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c
index 490e0f4cb..ecc5ba13a 100644
--- a/example/ndpiReader.c
+++ b/example/ndpiReader.c
@@ -2746,7 +2746,7 @@ static void setupDetection(u_int16_t thread_id, pcap_t * pcap_handle) {
i, lru_cache_ttls[i]);
}
- /* Set aggressiviness here */
+ /* Set aggressiveness here */
for(i = 0; i < NDPI_MAX_SUPPORTED_PROTOCOLS; i++) {
if(aggressiveness[i] != -1)
ndpi_set_protocol_aggressiveness(ndpi_thread_info[thread_id].workflow->ndpi_struct, i, aggressiveness[i]);
diff --git a/example/ndpiSimpleIntegration.c b/example/ndpiSimpleIntegration.c
index 7d49383bf..7ffa3e3ed 100644
--- a/example/ndpiSimpleIntegration.c
+++ b/example/ndpiSimpleIntegration.c
@@ -1146,7 +1146,7 @@ static void sighandler(int signum)
int main(int argc, char ** argv)
{
if (argc == 0) {
- printf("usage: ndpiSimpleIntegration Mdevice name>\n");
+ printf("usage: ndpiSimpleIntegration <device name>\n");
return 1;
}