From a4755f8e48af8fe7557440d1e759faaed09997e6 Mon Sep 17 00:00:00 2001 From: Christian Giese Date: Thu, 11 Mar 2021 11:38:46 +0100 Subject: [PATCH] Minor config parser bug --- src/bbl_config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bbl_config.c b/src/bbl_config.c index d4758200..bc1d30bb 100644 --- a/src/bbl_config.c +++ b/src/bbl_config.c @@ -746,7 +746,7 @@ json_parse_config (json_t *root, bbl_ctx_s *ctx) { l2tp_server->data_offset = json_boolean_value(value); } } - } else if (json_is_object(sub)) { + } else if (json_is_object(section)) { fprintf(stderr, "JSON config error: List expected in L2TP server configuration but dictionary found\n"); }