From: Remi Gacogne Date: Wed, 21 Aug 2024 12:51:28 +0000 (+0200) Subject: dnsdist: Fix formatting in dnsdist-ecs.cc X-Git-Tag: rec-5.2.0-alpha1~94^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31e530eb517a4755b5e7b3e77ca6f5921b5fe863;p=thirdparty%2Fpdns.git dnsdist: Fix formatting in dnsdist-ecs.cc --- diff --git a/pdns/dnsdistdist/dnsdist-ecs.cc b/pdns/dnsdistdist/dnsdist-ecs.cc index 2caeb67be1..782be6b75a 100644 --- a/pdns/dnsdistdist/dnsdist-ecs.cc +++ b/pdns/dnsdistdist/dnsdist-ecs.cc @@ -380,7 +380,8 @@ int locateEDNSOptRR(const PacketBuffer& packet, uint16_t* optStart, size_t* optL return ENOENT; } -namespace dnsdist { +namespace dnsdist +{ /* extract the start of the OPT RR in a QUERY packet if any */ int getEDNSOptionsStart(const PacketBuffer& packet, const size_t qnameWireLength, uint16_t* optRDPosition, size_t* remaining) { @@ -1033,7 +1034,8 @@ bool addEDNSToQueryTurnedResponse(DNSQuestion& dnsQuestion) return true; } -namespace dnsdist { +namespace dnsdist +{ static std::optional getEDNSRecordPosition(const DNSQuestion& dnsQuestion) { try {