From: Otto Moerbeek Date: Mon, 29 Sep 2025 09:40:47 +0000 (+0200) Subject: Reformat X-Git-Tag: rec-5.4.0-alpha1~178^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72bcbc0f3a451dd629ea001145016172e3c67585;p=thirdparty%2Fpdns.git Reformat Signed-off-by: Otto Moerbeek --- diff --git a/pdns/protozero-trace.hh b/pdns/protozero-trace.hh index 6abe38bab0..c9c0779d30 100644 --- a/pdns/protozero-trace.hh +++ b/pdns/protozero-trace.hh @@ -696,7 +696,7 @@ struct TracesData static TracesData boilerPlate(std::string&& service, std::string&& req, std::vector&& spans, const std::vector& attributes) { - auto& spanAttrs = spans.at(0).attributes; + auto& spanAttrs = spans.at(0).attributes; spanAttrs.push_back({"arg", {std::move(req)}}); spanAttrs.insert(spanAttrs.end(), attributes.begin(), attributes.end()); return TracesData{ diff --git a/pdns/recursordist/rec-eventtrace.hh b/pdns/recursordist/rec-eventtrace.hh index d9ccfee153..0a28b8cb95 100644 --- a/pdns/recursordist/rec-eventtrace.hh +++ b/pdns/recursordist/rec-eventtrace.hh @@ -142,7 +142,7 @@ public: { } Value_t d_value; - std::vector> d_extraValues; + std::vector> d_extraValues; std::string d_custom; int64_t d_ts; size_t d_parent; diff --git a/pdns/recursordist/syncres.cc b/pdns/recursordist/syncres.cc index 79ed23ef6c..8faa8c9005 100644 --- a/pdns/recursordist/syncres.cc +++ b/pdns/recursordist/syncres.cc @@ -5454,7 +5454,7 @@ bool SyncRes::doResolveAtThisIP(const std::string& prefix, const DNSName& qname, s_ecsqueries++; } auto match = d_eventTrace.add(RecEventTrace::AuthRequest, qname.toLogString(), true, 0); - d_eventTrace.addExtraValues(match, {{ "qtype", qtype.toString()}, {"ip", remoteIP.toStringWithPortExcept(53)}}); + d_eventTrace.addExtraValues(match, {{"qtype", qtype.toString()}, {"ip", remoteIP.toStringWithPortExcept(53)}}); updateQueryCounts(prefix, qname, remoteIP, doTCP, doDoT); resolveret = asyncresolveWrapper(LogObject(prefix), remoteIP, d_doDNSSEC, qname, auth, qtype.getCode(), doTCP, sendRDQuery, &d_now, ednsmask, &lwr, &chained, nsName); // <- we go out on the wire!