From cb80c7729b5afaf3c110d5926cb07b35ab4caffe Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Mon, 30 Oct 2017 11:41:44 -0400 Subject: [PATCH] linting --- src/meta/blacklist.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/meta/blacklist.js b/src/meta/blacklist.js index 995a9e4488..c8d5b6a9fb 100644 --- a/src/meta/blacklist.js +++ b/src/meta/blacklist.js @@ -65,9 +65,9 @@ Blacklist.test = function (clientIp, callback) { // Some handy test addresses // clientIp = '2001:db8:85a3:0:0:8a2e:370:7334'; // IPv6 // clientIp = '127.0.15.1'; // IPv4 - // clientIp = '127.0.15.1:3443'; // IPv4 with port strip port to not fail - clientIp = clientIp.split(":").length === 2 ? clientIp.split(":")[0] : clientIp; - + // clientIp = '127.0.15.1:3443'; // IPv4 with port strip port to not fail + clientIp = clientIp.split(':').length === 2 ? clientIp.split(':')[0] : clientIp; + var addr = ipaddr.parse(clientIp); if (