]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Update pdns/recursordist/pdns_recursor.cc 13043/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Tue, 18 Jul 2023 08:11:19 +0000 (10:11 +0200)
committerGitHub <noreply@github.com>
Tue, 18 Jul 2023 08:11:19 +0000 (10:11 +0200)
Co-authored-by: Peter van Dijk <peter.van.dijk@powerdns.com>
pdns/recursordist/pdns_recursor.cc

index e0f78da2e3c62f942c326d71feba663c9fe1031e..677bf39d971ff7fa0f265a275f1b72f2dedc00af 100644 (file)
@@ -776,7 +776,7 @@ int getFakePTRRecords(const DNSName& qname, vector<DNSRecord>& ret)
   record.d_name = qname;
   record.d_type = QType::CNAME;
   record.setContent(std::make_shared<CNAMERecordContent>(newquery));
-  // Copy the TTL of the synhtesized CNAME from the actual answer
+  // Copy the TTL of the synthesized CNAME from the actual answer
   record.d_ttl = (rcode == RCode::NoError && !answers.empty()) ? answers.at(0).d_ttl : SyncRes::s_minimumTTL;
   ret.push_back(record);