Changeset

10966:97de279ca01a

net.adns: Log a warning if loaded (because net.unbound wasn't)
author Kim Alvefur <zash@zash.se>
date Thu, 25 Jun 2020 17:55:24 +0200
parents 10965:f5d5fc409680
children 10967:67aabf83230b
files net/adns.lua
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/net/adns.lua	Thu Jun 25 17:41:07 2020 +0200
+++ b/net/adns.lua	Thu Jun 25 17:55:24 2020 +0200
@@ -12,6 +12,8 @@
 
 local log = require "util.logger".init("adns");
 
+log("warn", "Old async DNS library used, lua-unbound missing?"); -- TODO write docs about luaunbound
+
 local coroutine, pcall = coroutine, pcall;
 local setmetatable = setmetatable;