1
0
mirror of https://github.com/rtbrick/bngblaster.git synced 2024-05-06 15:54:57 +00:00

Minor config parser bug

This commit is contained in:
Christian Giese
2021-03-11 11:38:46 +01:00
parent aa6f0cd0fa
commit a4755f8e48

View File

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