diff options
author | Ivan Nardi <nardi.ivan@gmail.com> | 2025-06-05 14:37:53 +0200 |
---|---|---|
committer | Ivan Nardi <nardi.ivan@gmail.com> | 2025-06-05 14:37:53 +0200 |
commit | a8ad57bab204d20a91ab8978a2730195e423caa9 (patch) | |
tree | 3fa81a2a8f66235b3d0dc3d0c7779d3488f1e3a3 /example/ndpiReader.c | |
parent | f0eb0ed1d8f168c07d5ed0871a30948931b6bfd4 (diff) |
Sync unit tests results
Diffstat (limited to 'example/ndpiReader.c')
-rw-r--r-- | example/ndpiReader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c index 0d0f70245..0335d2eed 100644 --- a/example/ndpiReader.c +++ b/example/ndpiReader.c @@ -6568,7 +6568,7 @@ void encodeDomainsUnitTest() { str = (char*)"222.0grand-casino.com"; assert(ndpi_get_custom_category_match(ndpi_str, str, strlen(str), &id) == 0); assert(id == 107); str = (char*)"10bet.com"; assert(ndpi_get_custom_category_match(ndpi_str, str, strlen(str), &id) == 0); assert(id == 107); str = (char*)"www.ntop.org"; assert(ndpi_get_custom_category_match(ndpi_str, str, strlen(str), &id) == -1); assert(id == 0); - str = (char*)"www.andrewpope.com"; assert(ndpi_get_custom_category_match(ndpi_str, str, strlen(str), &id) == 0); assert(id == 100); + str = (char*)"lifyqyi.com"; assert(ndpi_get_custom_category_match(ndpi_str, str, strlen(str), &id) == 0); assert(id == 100); } ndpi_exit_detection_module(ndpi_str); |