aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/s2smanager.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/s2smanager.lua b/core/s2smanager.lua
index a8fe4d0f..ec07ef5a 100644
--- a/core/s2smanager.lua
+++ b/core/s2smanager.lua
@@ -87,9 +87,7 @@ function new_outgoing(from_host, to_host)
local cl = connlisteners_get("xmppserver");
local conn, handler = socket.tcp()
-
- --FIXME: Below parameters (ports/ip) are incorrect (use SRV)
-
+
local connect_host, connect_port = to_host, 5269;
local answer = dns.lookup("_xmpp-server._tcp."..to_host..".", "SRV");