]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
add comment on NSEC downcasing to avoid future confusion
authorBob Halley <halley@dnspython.org>
Tue, 6 Oct 2020 17:04:14 +0000 (10:04 -0700)
committerBob Halley <halley@dnspython.org>
Tue, 6 Oct 2020 17:04:14 +0000 (10:04 -0700)
dns/rdtypes/ANY/NSEC.py

index 45c22f0342789de97d2b975795db7d68e2137046..dc31f4c419c74080d151e632801ae0e80d39523a 100644 (file)
@@ -55,6 +55,8 @@ class NSEC(dns.rdata.Rdata):
         return cls(rdclass, rdtype, next, windows)
 
     def _to_wire(self, file, compress=None, origin=None, canonicalize=False):
+        # Note that NSEC downcasing, originally mandated by RFC 4034
+        # section 6.2 was removed by RFC 6840 section 5.1.
         self.next.to_wire(file, None, origin, False)
         Bitmap(self.windows).to_wire(file)