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"); }