# HG changeset patch # User Kim Alvefur # Date 1410890154 -7200 # Node ID 6ea13869753f64ad99f1192efe17e4eaf5b62442 # Parent a40f9b8661d8b3669976293360ca8e337a053dee mod_s2s_auth_dane: Include hostname when logging a failure diff -r a40f9b8661d8 -r 6ea13869753f mod_s2s_auth_dane/mod_s2s_auth_dane.lua --- a/mod_s2s_auth_dane/mod_s2s_auth_dane.lua Tue Sep 16 19:53:41 2014 +0200 +++ b/mod_s2s_auth_dane/mod_s2s_auth_dane.lua Tue Sep 16 19:55:54 2014 +0200 @@ -242,7 +242,7 @@ if dane.bogus then why = "Bogus: "..tostring(dane.bogus); end - log("warn", "DANE validation failed: %s", why); + log("warn", "DANE validation failed for %s: %s", host, why); session.cert_identity_status = "invalid"; session.cert_chain_status = "invalid"; end