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:
@ -746,7 +746,7 @@ json_parse_config (json_t *root, bbl_ctx_s *ctx) {
|
|||||||
l2tp_server->data_offset = json_boolean_value(value);
|
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");
|
fprintf(stderr, "JSON config error: List expected in L2TP server configuration but dictionary found\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user