diff options
author | Matthew Wild <mwild1@gmail.com> | 2022-03-18 20:14:20 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2022-03-18 20:14:20 +0000 |
commit | 860f7d6b7dfccfe3dee023d5cec8130379c5c85c (patch) | |
tree | 6e66f0d29ea222abcbfc616184c3fb1e3adba3f5 /net/resolvers | |
parent | a188ece31ae32f89f945e1064c0a998454cdf936 (diff) | |
download | prosody-860f7d6b7dfccfe3dee023d5cec8130379c5c85c.tar.gz prosody-860f7d6b7dfccfe3dee023d5cec8130379c5c85c.zip |
net.resolvers.basic: Fix incorrect field name (thanks CI)
Diffstat (limited to 'net/resolvers')
-rw-r--r-- | net/resolvers/basic.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/resolvers/basic.lua b/net/resolvers/basic.lua index 9eb7091c..15338ff4 100644 --- a/net/resolvers/basic.lua +++ b/net/resolvers/basic.lua @@ -80,7 +80,7 @@ function methods:next(cb) local dns_lookups = { ipv4 = do_dns_lookup(self, dns_resolver, "A", self.hostname); ipv6 = do_dns_lookup(self, dns_resolver, "AAAA", self.hostname); - tlsa = do_dns_lookup(self, dns_resolver, "TLSA", ("_%d._%s.%s"):format(self.port, self.conntype, self.hostname)); + tlsa = do_dns_lookup(self, dns_resolver, "TLSA", ("_%d._%s.%s"):format(self.port, self.conn_type, self.hostname)); }; promise.all_settled(dns_lookups):next(function (dns_results) |