From 860f7d6b7dfccfe3dee023d5cec8130379c5c85c Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Fri, 18 Mar 2022 20:14:20 +0000 Subject: net.resolvers.basic: Fix incorrect field name (thanks CI) --- net/resolvers/basic.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net') 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) -- cgit v1.2.3