summaryrefslogtreecommitdiffstats
path: root/daemon/bindings
diff options
context:
space:
mode:
authorVladimír Čunát <vladimir.cunat@nic.cz>2023-05-24 16:09:13 +0200
committerVladimír Čunát <vladimir.cunat@nic.cz>2023-06-12 10:32:57 +0200
commit449a0bab092322ae36d695f376b06840590233fc (patch)
tree042c9b878dcd105f3406b1032e7837b2bc3c5396 /daemon/bindings
parentlib/rules: implement forwarding (diff)
downloadknot-resolver-449a0bab092322ae36d695f376b06840590233fc.tar.xz
knot-resolver-449a0bab092322ae36d695f376b06840590233fc.zip
lib/rules forwarding: per-IP .tls
We planned it that way for the new config schema - and, why not.
Diffstat (limited to 'daemon/bindings')
-rw-r--r--daemon/bindings/net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/bindings/net.c b/daemon/bindings/net.c
index f1fa6f3a..42c6190a 100644
--- a/daemon/bindings/net.c
+++ b/daemon/bindings/net.c
@@ -723,7 +723,7 @@ static int net_tls_client(lua_State *L)
/* check that only allowed keys are present */
{
const char *bad_key = lua_table_checkindices(L, (const char *[])
- { "1", "hostname", "ca_file", "pin_sha256", "insecure", NULL });
+ { "1", "hostname", "ca_file", "pin_sha256", "insecure", "tls", NULL });
if (bad_key)
lua_error_p(L, "found unexpected key '%s'", bad_key);
}