From b3a322a178611b82b9bb1c5279ecce0354f7c364 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Thu, 4 Aug 2016 17:44:40 +0200 Subject: [PATCH] Pass the server port as integer to the uwhois client --- misp_modules/modules/expansion/whois.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misp_modules/modules/expansion/whois.py b/misp_modules/modules/expansion/whois.py index 245551b..5f3602e 100755 --- a/misp_modules/modules/expansion/whois.py +++ b/misp_modules/modules/expansion/whois.py @@ -30,7 +30,7 @@ def handler(q=False): misperrors['error'] = 'EUPI authentication is missing' return misperrors - uwhois = Uwhois(request['config']['server'], request['config']['port']) + uwhois = Uwhois(request['config']['server'], int(request['config']['port'])) if 'event_id' in request: return handle_expansion(uwhois, toquery)