From 409c611a377778342cf27840b1871651df1ad328 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Mon, 15 Mar 2021 23:09:42 +0100 Subject: net.resolvers.basic: Fix completion condition when IPv6 is disabled Fixes mistake introduced in 5a71f14ab77c that made it so this ready() newer got called and thus it would be stuck waiting for it. Looks like the kind of thing that could have been introduced by a merge or rebase. Thanks MattJ --- net/resolvers/basic.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'net/resolvers') diff --git a/net/resolvers/basic.lua b/net/resolvers/basic.lua index c0e7cb88..3c0e69f5 100644 --- a/net/resolvers/basic.lua +++ b/net/resolvers/basic.lua @@ -74,6 +74,8 @@ function methods:next(cb) end ready(); end, self.hostname, "AAAA", "IN"); + else + ready(); end if self.extra and self.extra.use_dane == true then -- cgit v1.2.3