]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Reformat
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 29 Sep 2025 09:40:47 +0000 (11:40 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 29 Sep 2025 09:40:47 +0000 (11:40 +0200)
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
pdns/protozero-trace.hh
pdns/recursordist/rec-eventtrace.hh
pdns/recursordist/syncres.cc

index 6abe38bab0d9c24e40aeb676f1432b4532f6896f..c9c0779d30029db7c2e1974022f9036df60adbf0 100644 (file)
@@ -696,7 +696,7 @@ struct TracesData
 
   static TracesData boilerPlate(std::string&& service, std::string&& req, std::vector<Span>&& spans, const std::vector<KeyValue>& 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{
index d9ccfee153029b917d41ae29eeb741c3476e6107..0a28b8cb9550b6e28147a42e55ae95c22ccce226 100644 (file)
@@ -142,7 +142,7 @@ public:
     {
     }
     Value_t d_value;
-    std::vector<std::pair<string,Value_t>> d_extraValues;
+    std::vector<std::pair<string, Value_t>> d_extraValues;
     std::string d_custom;
     int64_t d_ts;
     size_t d_parent;
index 79ed23ef6cdc4167374efdb3aaf6ac1aef9f3333..8faa8c90059cd45c89351bd7f3eb8d1cd2bedb87 100644 (file)
@@ -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!