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

fix #59 segmentation fault

This commit is contained in:
Christian Giese
2021-12-06 15:12:23 +01:00
parent 6963acd337
commit 48fb951c4a

View File

@ -469,7 +469,7 @@ json_parse_access_interface (bbl_ctx_s *ctx, json_t *access_interface, bbl_acces
if (json_unpack(access_interface, "{s:s}", "agent-remote-id", &s) == 0) {
access_config->agent_remote_id = strdup(s);
} else {
if (ctx->config.agent_circuit_id) {
if (ctx->config.agent_remote_id) {
access_config->agent_remote_id = strdup(ctx->config.agent_remote_id);
}
}