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:
@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user