mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 10:18:25 +00:00
Remove useless endian-conversion after GETLONG().
This commit is contained in:
committed by
Simon Kelley
parent
6445c8ed73
commit
d31d057aa3
@@ -149,7 +149,7 @@ static int validate_rrsig(struct dns_header *header, size_t pktlen,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!check_date_range(ntohl(date_start), ntohl(date_end)))
|
if (!check_date_range(date_start, date_end))
|
||||||
{
|
{
|
||||||
printf("RRSIG outside date range\n");
|
printf("RRSIG outside date range\n");
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user