From efb406fbfc65d0a266ccd4c1ea8b494a27299e26 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 28 May 2012 19:13:50 +0000 Subject: [PATCH] minor revert --- lib/request/dns.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/request/dns.py b/lib/request/dns.py index effbb6c48..b7eac3532 100644 --- a/lib/request/dns.py +++ b/lib/request/dns.py @@ -97,7 +97,7 @@ class DNSServer: while True: data, addr = self._socket.recvfrom(1024) _ = DNSQuery(data) - self._socket.sendto(_.response("127.%s" % ".".join(str(random.randint(1, 255)) for _ in xrange(3))), addr) + self._socket.sendto(_.response("127.0.0.1"), addr) with self._lock: self._requests.append(_._query)