# HG changeset patch # User Kim Alvefur # Date 1528985636 -7200 # Node ID 28ec1e024379e430320698c0715e91f535709d8d # Parent dbb5ec6885fe72ca068fc3a93f0602b6beec6d80 mod_s2s: Log a message before trying the next SRV record This was the only spot where it did `ip_hosts = nil` without logging diff -r dbb5ec6885fe -r 28ec1e024379 plugins/mod_s2s/s2sout.lib.lua --- a/plugins/mod_s2s/s2sout.lib.lua Sun Jun 10 17:56:38 2018 +0200 +++ b/plugins/mod_s2s/s2sout.lib.lua Thu Jun 14 16:13:56 2018 +0200 @@ -252,6 +252,7 @@ elseif host_session.ip_hosts and #host_session.ip_hosts > host_session.ip_choice then -- Not our first attempt, and we also have IPs left to try s2sout.try_next_ip(host_session); else + log("debug", "Out of IP addresses, trying next SRV record (if any)"); host_session.ip_hosts = nil; if not s2sout.attempt_connection(host_session, "out of IP addresses") then -- Retry if we can log("debug", "No other records to try for %s - destroying", host_session.to_host);