diff options
| author | Bob Halley <halley@dnspython.org> | 2020-08-21 10:11:56 -0700 |
|---|---|---|
| committer | Bob Halley <halley@dnspython.org> | 2020-08-21 10:11:56 -0700 |
| commit | c27f5a6e5265576d404d53afc1d175abaaf218a7 (patch) | |
| tree | 7cfe86f914239fe73ca819601b65c76c861bc175 /dns/message.py | |
| parent | 6dab9730f9204ea423087fad8a99b015dbc19e07 (diff) | |
| download | dnspython-c27f5a6e5265576d404d53afc1d175abaaf218a7.tar.gz | |
do not call the OPT constructor with rdclass == None
Diffstat (limited to 'dns/message.py')
| -rw-r--r-- | dns/message.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dns/message.py b/dns/message.py index 5a03118..ea71a45 100644 --- a/dns/message.py +++ b/dns/message.py @@ -1087,7 +1087,7 @@ class _TextReader: self.id = None self.edns = -1 self.ednsflags = 0 - self.payload = None + self.payload = DEFAULT_EDNS_PAYLOAD self.rcode = None self.opcode = dns.opcode.QUERY self.flags = 0 |
