# HG changeset patch # User Kim Alvefur # Date 1430866306 -7200 # Node ID ab3175685f945f1ad9dcac1e2a42fb5c9fe78146 # Parent 54b93cf0f631536781cf4231f5d71218ff7ebd16 mod_s2s_auth_dane: Don't count number of RRs in DNS reply if the DNS lib already did diff -r 54b93cf0f631 -r ab3175685f94 mod_s2s_auth_dane/mod_s2s_auth_dane.lua --- a/mod_s2s_auth_dane/mod_s2s_auth_dane.lua Tue May 05 15:39:15 2015 +0200 +++ b/mod_s2s_auth_dane/mod_s2s_auth_dane.lua Wed May 06 00:51:46 2015 +0200 @@ -94,7 +94,7 @@ return cb(host_session); end - local n = #answer + local n = answer.n or #answer; if n == 0 then -- No SRV records, we could proceed with the domainname and -- default port but that will currently not work properly since