[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [ooni-probe/master] Fix key error in dns_consistency
commit 30fa38799221bb720a300b0bc91b12cab0e08362
Author: Arturo Filastò <art@xxxxxxxxx>
Date: Wed Nov 5 18:17:54 2014 +0100
Fix key error in dns_consistency
---
ooni/nettests/blocking/dns_consistency.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ooni/nettests/blocking/dns_consistency.py b/ooni/nettests/blocking/dns_consistency.py
index 23d7cfc..c4cae56 100644
--- a/ooni/nettests/blocking/dns_consistency.py
+++ b/ooni/nettests/blocking/dns_consistency.py
@@ -118,7 +118,7 @@ class DNSConsistencyTest(dnst.DNSTest):
log.err(
"Got no response from control DNS server %s:%d, "
"perhaps the DNS resolver is down?" %
- self.control_dns_server[0])
+ self.control_dns_server)
self.report['tampering'][
"%s:%d" %
self.control_dns_server] = 'no_answer'
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits