From f070ac2005241bf8bf8655e901674cd6172bc893 Mon Sep 17 00:00:00 2001 From: Alexandre Dulaunoy Date: Mon, 25 Aug 2014 10:05:36 +0200 Subject: [PATCH] cymruwhois uses dotted decimal format --- bin/ZMQ_Sub_Urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/ZMQ_Sub_Urls.py b/bin/ZMQ_Sub_Urls.py index b34de8fb..658d9c4a 100755 --- a/bin/ZMQ_Sub_Urls.py +++ b/bin/ZMQ_Sub_Urls.py @@ -81,7 +81,7 @@ if __name__ == "__main__": continue try: - l = client.lookup(socket.inet_aton(ip), qType='IP') + l = client.lookup(ip, qType='IP') except ipaddress.AddressValueError: continue cc = getattr(l, 'cc')