DNS: fix TTL check and sync unit test results (#1594)

This commit is contained in:
Ivan Nardi
2022-06-14 09:29:16 +02:00
committed by GitHub
parent defe7d7f79
commit 8dcaa5c0e1
2 changed files with 51 additions and 51 deletions
+1 -1
View File
@@ -303,7 +303,7 @@ static int search_valid_dns(struct ndpi_detection_module_struct *ndpi_struct,
} else
x += data_len;
if((x+2) >= packet->payload_packet_len) {
if((x+8) >= packet->payload_packet_len) {
break;
}