diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-07-13 01:16:49 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-07-13 01:17:33 +0200 |
commit | 6484e9814a3a540518606f552398e0b82f91ab4d (patch) | |
tree | 290af638f2eb48906ff762990f404b6b49769fd6 | |
parent | Revert failed fix for #31 (diff) | |
download | cuberite-6484e9814a3a540518606f552398e0b82f91ab4d.tar cuberite-6484e9814a3a540518606f552398e0b82f91ab4d.tar.gz cuberite-6484e9814a3a540518606f552398e0b82f91ab4d.tar.bz2 cuberite-6484e9814a3a540518606f552398e0b82f91ab4d.tar.lz cuberite-6484e9814a3a540518606f552398e0b82f91ab4d.tar.xz cuberite-6484e9814a3a540518606f552398e0b82f91ab4d.tar.zst cuberite-6484e9814a3a540518606f552398e0b82f91ab4d.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Server.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/Server.cpp b/src/Server.cpp index 5d1e51036..9220731eb 100644 --- a/src/Server.cpp +++ b/src/Server.cpp @@ -221,14 +221,12 @@ bool cServer::InitServer(cIniFile & a_SettingsIni) bool HasAnyPorts = false; AString Ports = a_SettingsIni.GetValueSet("Server", "Port", "25565"); - m_ListenThreadIPv4.SetReuseAddr(true); if (m_ListenThreadIPv4.Initialize(Ports)) { HasAnyPorts = true; } Ports = a_SettingsIni.GetValueSet("Server", "PortsIPv6", "25565"); - m_ListenThreadIPv6.SetReuseAddr(true); if (m_ListenThreadIPv6.Initialize(Ports)) { HasAnyPorts = true; |