Software /
code /
prosody-modules
Changeset
1700:ab3175685f94
mod_s2s_auth_dane: Don't count number of RRs in DNS reply if the DNS lib already did
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 06 May 2015 00:51:46 +0200 |
parents | 1699:54b93cf0f631 |
children | 1701:9b429fc9e8a0 |
files | mod_s2s_auth_dane/mod_s2s_auth_dane.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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