# HG changeset patch # User Kim Alvefur # Date 1428924937 -7200 # Node ID aac5e56615cef85e68becbde57af27ad7933819c # Parent d9fcf9d8e787bfe1c6a856b882d18f23a6692845 mod_s2s_auth_dane: Demote log message about failure to ASCII-ify hostname from error to warning diff -r d9fcf9d8e787 -r aac5e56615ce mod_s2s_auth_dane/mod_s2s_auth_dane.lua --- a/mod_s2s_auth_dane/mod_s2s_auth_dane.lua Sun Apr 12 18:19:41 2015 +0200 +++ b/mod_s2s_auth_dane/mod_s2s_auth_dane.lua Mon Apr 13 13:35:37 2015 +0200 @@ -74,9 +74,9 @@ -- and incoming connections, so this should work well local name = host_session.from_host and idna_to_ascii(host_session.from_host); if not name then - module:log("error", "Could not convert '%s' to ASCII for DNS lookup", tostring(host_session.from_host)); - return; - end + module:log("warn", "Could not convert '%s' to ASCII for DNS lookup", tostring(host_session.from_host)); + return; + end host_session.dane = dns_lookup(function (answer, err) host_session.dane = false; -- Mark that we already did the lookup