mirror of
https://github.com/webtorrent/bittorrent-tracker.git
synced 2025-02-21 20:59:02 +00:00
:: is already the default for node's http
This commit is contained in:
parent
0ccc7feb04
commit
0150982b9e
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user