DNS: fix TTL check and sync unit test results (#1594)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user