[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [ooni-probe/master] Enforce str on IP address of backend.



commit ee3911fff77b2780ef951e600751a6e425819b72
Author: Arturo Filastò <art@xxxxxxxxx>
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
 

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits