Fixed not passing tupel

master
Ruakij 3 years ago
parent bc61e3f60f
commit 71d46c7710

@ -81,7 +81,7 @@ def handleQuery(s, address, dmsg):
log.info(f'{address[0]} |\tNOTIFY for {record.name}') log.info(f'{address[0]} |\tNOTIFY for {record.name}')
_thread.start_new_thread(updateNsData, (record.name)) _thread.start_new_thread(updateNsData, (record.name,))
response = dns.message.make_response(dmsg) # type: dns.message.Message response = dns.message.make_response(dmsg) # type: dns.message.Message
response.flags |= dns.flags.AA response.flags |= dns.flags.AA

Loading…
Cancel
Save