Commit 8bfc03b2 authored by Brian Hill's avatar Brian Hill Committed by Brian May

Make --to-dns and --ns-host work well together

parent 884bd6de
......@@ -192,6 +192,8 @@ class DnsProxy(Handler):
port = 53
family, sockaddr = self._addrinfo(peer, port)
else:
_, peer = self.to_nameserver
port = 53
family, sockaddr = self.to_nameserver
sock = socket.socket(family, socket.SOCK_DGRAM)
......
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