From: Brian Wellington Date: Mon, 11 May 2020 17:34:13 +0000 (-0700) Subject: Fix the dns.message.BadEDNS documentation. X-Git-Tag: v2.0.0rc1~222 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e31b10472822afd8e22906fb6b837cbc2ca3b962;p=thirdparty%2Fdnspython.git Fix the dns.message.BadEDNS documentation. The OPT record isn't required to be at the start of the additional section, and the code doesn't enforce that. --- diff --git a/dns/message.py b/dns/message.py index 4e5fec08..44802807 100644 --- a/dns/message.py +++ b/dns/message.py @@ -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."""