]> 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)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Wed, 7 Dec 2022 13:29:06 +0000 (14:29 +0100)
Co-authored-by: Peter van Dijk <peter.van.dijk@powerdns.com>
(cherry picked from commit bca5ab3a353ac1dcf1171176bee6c22bd4ed92b0)

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 2caf8d62ab0bd705a5df077ab0173e7aa303d9d1..d0b33401778e1a3d506fc6a8141894f91ce72861 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?