[tor-commits] [ooni-probe/master] Enforce str on IP address of backend.
art at torproject.org
art at torproject.org
Thu Sep 12 09:23:02 UTC 2013
commit ee3911fff77b2780ef951e600751a6e425819b72
Author: Arturo Filastò <art at fuffa.org>
Date: Thu Sep 12 11:10:59 2013 +0200
Enforce str on IP address of backend.
---
data/nettests/blocking/dnsconsistency.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/data/nettests/blocking/dnsconsistency.py b/data/nettests/blocking/dnsconsistency.py
index 3c88cd2..d883434 100644
--- a/data/nettests/blocking/dnsconsistency.py
+++ b/data/nettests/blocking/dnsconsistency.py
@@ -75,7 +75,7 @@ class DNSConsistencyTest(dnst.DNSTest):
log.debug("No test resolver file configured")
dns_ip, dns_port = self.localOptions['backend'].split(':')
- self.control_dns_server = (dns_ip, int(dns_port))
+ self.control_dns_server = (str(dns_ip), int(dns_port))
self.report['control_resolver'] = self.control_dns_server
More information about the tor-commits
mailing list