From: Neil Cook Date: Wed, 24 Oct 2018 12:35:57 +0000 (+0000) Subject: Fix code-review issues: X-Git-Tag: dnsdist-1.3.3~16^2~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ff4d391dc09aba9a3b09a7cbc3c2e6125b23e87f;p=pdns Fix code-review issues: - Indentation (tabs vs spaces, grr) - Don't make NOD detection dependent on protobuf being enabled --- diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc index 28fde0517..ca41f0a34 100644 --- a/pdns/pdns_recursor.cc +++ b/pdns/pdns_recursor.cc @@ -965,9 +965,9 @@ static bool udrCheckUniqueDNSRecord(const DNSName& dname, uint16_t qtype, const std::stringstream ss; ss << dname.toDNSStringLC() << ":" << qtype << ":" << qtype << ":" << record.d_type << ":" << record.d_name.toDNSStringLC() << ":" << record.d_content->getZoneRepresentation(); if (t_udrDBp && t_udrDBp->isUniqueResponse(ss.str())) { - if (g_udrLog) { - // This should also probably log to a dedicated file. - g_log<