From 0150982b9ebeac547ab79e70baa6fb61fb6a8e71 Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Tue, 23 Feb 2016 12:51:28 -0800 Subject: [PATCH] :: is already the default for node's http --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.js b/server.js index ba8aff5..239e896 100644 --- a/server.js +++ b/server.js @@ -157,7 +157,7 @@ Server.prototype.listen = function (/* port, hostname, onlistening */) { // binding to :: only receives IPv4 connections if the bindv6only sysctl is set 0, // which is the default on many operating systems - var httpHostname = isObject(hostname) ? hostname.http : (hostname || '::') + var httpHostname = isObject(hostname) ? hostname.http : hostname var udp4Hostname = isObject(hostname) ? hostname.udp : hostname var udp6Hostname = isObject(hostname) ? hostname.udp6 : hostname