diff options
author | Luca Deri <deri@ntop.org> | 2023-09-11 22:50:03 +0200 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2023-09-11 22:50:03 +0200 |
commit | 1bf7e5face91e0fb103ac19dcacab65738e112be (patch) | |
tree | 8884f29d70fc3662d03636973b74e047850c2207 /example/ndpiReader.c | |
parent | 8e6500a0da6798e2f2730ff88681c954ae7216d4 (diff) |
Fixes matches with domain name strings that start with a dot
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 f8a6acde5..9f6643b57 100644 --- a/example/ndpiReader.c +++ b/example/ndpiReader.c @@ -5453,7 +5453,7 @@ void domainSearchUnitTest() { u_int8_t class_id; assert(sc); - + ndpi_domain_classify_add(sc, NDPI_PROTOCOL_NTOP, ".ntop.org"); ndpi_domain_classify_add(sc, NDPI_PROTOCOL_NTOP, domain); assert(ndpi_domain_classify_contains(sc, &class_id, domain)); |