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

[tor-commits] [ooni-probe/master] Move to call IPAddress explicitly from ipaddr.IPAdress.



commit 6c2d8901d1bb099d026ddd820f0091a68a9b0b5c
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
Date:   Mon Apr 22 00:45:35 2013 +0000

    Move to call IPAddress explicitly from ipaddr.IPAdress.
---
 nettests/experimental/tls_handshake.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/nettests/experimental/tls_handshake.py b/nettests/experimental/tls_handshake.py
index 3585657..b715387 100644
--- a/nettests/experimental/tls_handshake.py
+++ b/nettests/experimental/tls_handshake.py
@@ -213,7 +213,7 @@ class HandshakeTest(nettest.NetTestCase):
 
     def buildSocket(self, addr):
         global s
-        ip = IPAddress(addr) ## learn if we're IPv4 or IPv6
+        ip = ipaddr.IPAddress(addr) ## learn if we're IPv4 or IPv6
         if ip.version == 4:
             s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
         elif ip.version == 6:



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