From: Petr Špaček Date: Tue, 4 Dec 2018 07:34:57 +0000 (+0100) Subject: nitpick: polish error message for unusable address set X-Git-Tag: v3.2.0~19^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee440dec4700ff2633e97ef8d2560f643c490df0;p=thirdparty%2Fknot-resolver.git nitpick: polish error message for unusable address set --- diff --git a/modules/policy/policy.lua b/modules/policy/policy.lua index ef258a05f..7a3fb6bbc 100644 --- a/modules/policy/policy.lua +++ b/modules/policy/policy.lua @@ -94,7 +94,8 @@ local function set_nslist(qry, list) end if ns_i == 0 then -- would use assert() but don't want to compose the message if not triggered - error('no adress in the configured NS set is usable:\n' .. table_print(list, 2)) + error('no usable address in NS set (check net.ipv4 and ' + .. 'net.ipv6 config):\n' .. table_print(list, 2)) end end