From: Remi Gacogne Date: Wed, 13 Jun 2018 16:27:37 +0000 (+0200) Subject: dnsdist: Pass the correct section to the 'editTTLs' callback X-Git-Tag: dnsdist-1.3.1~20^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d7ce446c7dabdef84d535334a3456341c55f6b68;p=pdns dnsdist: Pass the correct section to the 'editTTLs' callback --- diff --git a/pdns/dnsparser.cc b/pdns/dnsparser.cc index 805600dfc..77ac1b96d 100644 --- a/pdns/dnsparser.cc +++ b/pdns/dnsparser.cc @@ -714,7 +714,7 @@ void editDNSPacketTTL(char* packet, size_t length, std::function= (ntohs(dh->ancount) && n < (ntohs(dh->ancount) + ntohs(dh->nscount)))) { + *seenAuthSOA = true; + } const uint32_t ttl = dpm.get32BitInt(); if (result > ttl)