Commit d5d1fa04 authored by Grigorii Demidov's avatar Grigorii Demidov

debug print improvement

parent 8315148f
......@@ -157,7 +157,7 @@ class TestServer:
query, addr = recvfrom_msg(client)
if query is None:
return False
dprint ("[ handle_query ]", "incoming query\n%s" % query)
dprint ("[ handle_query ]", "%s incoming query from %s\n%s" % (client_address, addr, query))
response = dns.message.make_response(query)
is_raw_data = False
if self.scenario is not None:
Markdown is supported
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