Changeset

12413:e155f4509954

net.resolvers.basic: Fix incorrect field name (thanks CI)
author Matthew Wild <mwild1@gmail.com>
date Fri, 18 Mar 2022 20:14:20 +0000
parents 12412:18a3a6218100
children 12415:01ba67e7f824
files net/resolvers/basic.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/net/resolvers/basic.lua	Fri Mar 18 16:16:57 2022 +0000
+++ b/net/resolvers/basic.lua	Fri Mar 18 20:14:20 2022 +0000
@@ -80,7 +80,7 @@
 	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)