]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Apply suggestions from code review
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Wed, 7 Dec 2022 12:30:19 +0000 (13:30 +0100)
committerGitHub <noreply@github.com>
Wed, 7 Dec 2022 12:30:19 +0000 (13:30 +0100)
Co-authored-by: Peter van Dijk <peter.van.dijk@powerdns.com>
pdns/qtype.hh
pdns/syncres.hh

index ab9d713c635ad0c5b3116e84b7dfff72e9394314..e66dbefff5ee7b1634b2abd4b74057a05294963e 100644 (file)
@@ -135,7 +135,7 @@ public:
 
   const static uint16_t rfc6895MetaLowerBound = 128;
   const static uint16_t rfc6895MetaUpperBound = 254; // Note 255: ANY is not included
-  const static uint16_t rfc6896Reserved = 65535;
+  const static uint16_t rfc6895Reserved = 65535;
 
   const static map<const string, uint16_t> names;
   const static map<uint16_t, const string> numbers;
index b7c27de8a47f655ed94e1cb5eef7723b7125f785..499e2d355da6b26d988c5e8411ac87b28c2224e3 100644 (file)
@@ -446,7 +446,7 @@ public:
     case QType::ENT: // aka TYPE0
     case QType::ADDR:
       // RFC
-    case QType::rfc6896Reserved:
+    case QType::rfc6895Reserved:
       // Other
     case QType::RRSIG:
     case QType::NSEC3: // what about NSEC?