diff options
author | Luca Deri <deri@ntop.org> | 2021-09-17 12:20:19 +0200 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2021-09-17 12:20:19 +0200 |
commit | 119a14c6e3b003d9d190a06f80b62af61e63253b (patch) | |
tree | 090848e8ef42ed9f96cd799bf7d9c48db443039d /src/lib/ndpi_main.c | |
parent | 8f113c1d379f30f469313c995941696760922330 (diff) |
DNS dissection fixes
Diffstat (limited to 'src/lib/ndpi_main.c')
-rw-r--r-- | src/lib/ndpi_main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c index 854c5375a..1c29d1a8f 100644 --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -4168,7 +4168,8 @@ int ndpi_handle_ipv6_extension_headers(struct ndpi_detection_module_struct *ndpi return(0); } -static u_int8_t ndpi_iph_is_valid_and_not_fragmented(const struct ndpi_iphdr *iph, const u_int16_t ipsize) { +/* Used by dns.c */ +u_int8_t ndpi_iph_is_valid_and_not_fragmented(const struct ndpi_iphdr *iph, const u_int16_t ipsize) { /* returned value: 0: fragmented |