summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dns/rdtypes/ANY/NSEC.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/dns/rdtypes/ANY/NSEC.py b/dns/rdtypes/ANY/NSEC.py
index 45c22f0..dc31f4c 100644
--- a/dns/rdtypes/ANY/NSEC.py
+++ b/dns/rdtypes/ANY/NSEC.py
@@ -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)