diff options
author | Luca Deri <deri@ntop.org> | 2021-02-10 19:09:11 +0100 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2021-02-10 19:09:11 +0100 |
commit | ea0309d21b168d70b853986a342d08966012d07b (patch) | |
tree | 2b18956ccd7ab817ab23983c424b73de25495d3d /src/lib/protocols/dns.c | |
parent | 76ac551ed385ad6e0e346b05b5c94dd7a00e693b (diff) |
Removed now obsolete NDPI_DETECTION_SUPPORT_IPV6: code is more readeable now
Diffstat (limited to 'src/lib/protocols/dns.c')
-rw-r--r-- | src/lib/protocols/dns.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/protocols/dns.c b/src/lib/protocols/dns.c index ef2a25597..01bea14ff 100644 --- a/src/lib/protocols/dns.c +++ b/src/lib/protocols/dns.c @@ -290,9 +290,7 @@ static int search_valid_dns(struct ndpi_detection_module_struct *ndpi_struct, } if((((rsp_type == 0x1) && (data_len == 4)) /* A */ -#ifdef NDPI_DETECTION_SUPPORT_IPV6 || ((rsp_type == 0x1c) && (data_len == 16)) /* AAAA */ -#endif )) { memcpy(&flow->protos.dns.rsp_addr, flow->packet.payload + x, data_len); } |