Skip to content
Snippets Groups Projects
Commit d1b84a1e authored by Karel Slaný's avatar Karel Slaný
Browse files

tests: Fixed disappearing DO bit in queries in DNSSEC tests.

parent b3f6d051
Branches
Tags
No related merge requests found
......@@ -307,9 +307,11 @@ class Step:
if self.data[0].is_raw_data_entry is True:
data_to_wire = self.data[0].raw_data
else:
msg = self.data[0].message
msg.use_edns(edns = 1)
data_to_wire = msg.to_wire()
#msg = self.data[0].message
#msg.use_edns(edns = 1)
#data_to_wire = msg.to_wire()
# Don't use a message copy as the EDNS data portion is not copied.
data_to_wire = self.data[0].message.to_wire()
# Send query to client and wait for response
while True:
try:
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment