Commit d31d057a authored by Giovanni Bajo's avatar Giovanni Bajo Committed by Simon Kelley

Remove useless endian-conversion after GETLONG().

parent 6445c8ed
......@@ -149,7 +149,7 @@ static int validate_rrsig(struct dns_header *header, size_t pktlen,
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");
return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment