]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
Fix the dns.message.BadEDNS documentation.
authorBrian Wellington <bwelling@xbill.org>
Mon, 11 May 2020 17:34:13 +0000 (10:34 -0700)
committerBrian Wellington <bwelling@xbill.org>
Mon, 11 May 2020 17:34:13 +0000 (10:34 -0700)
The OPT record isn't required to be at the start of the additional
section, and the code doesn't enforce that.

dns/message.py

index 4e5fec08d8b2965b422fc37591830b648b3933c8..44802807c50ba23cedc7c921a64f260df4b3ff51 100644 (file)
@@ -52,7 +52,7 @@ class UnknownHeaderField(dns.exception.DNSException):
 
 
 class BadEDNS(dns.exception.FormError):
-    """An OPT record occurred somewhere other than the start of
+    """An OPT record occurred somewhere other than
     the additional data section."""