]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
nitpick: polish error message for unusable address set
authorPetr Špaček <petr.spacek@nic.cz>
Tue, 4 Dec 2018 07:34:57 +0000 (08:34 +0100)
committerPetr Špaček <petr.spacek@nic.cz>
Tue, 4 Dec 2018 07:34:57 +0000 (08:34 +0100)
modules/policy/policy.lua

index ef258a05f7bab722ab58c829dd3251b77c583f34..7a3fb6bbc52476695cb56d1e29676c832f048ecf 100644 (file)
@@ -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