From ee440dec4700ff2633e97ef8d2560f643c490df0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Petr=20=C5=A0pa=C4=8Dek?= Date: Tue, 4 Dec 2018 08:34:57 +0100 Subject: [PATCH] nitpick: polish error message for unusable address set --- modules/policy/policy.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.47.3