From e31b10472822afd8e22906fb6b837cbc2ca3b962 Mon Sep 17 00:00:00 2001 From: Brian Wellington Date: Mon, 11 May 2020 10:34:13 -0700 Subject: [PATCH] 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. --- dns/message.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.""" -- 2.47.3