mgcp-cli: Change osmo_mgcpc_ep_fsm name to avoid collision with old osmo-bsc
Recent commit moved mgw_endpoint_fsm from osmo-bsc.git here as
osmo_mgcpc_ep_fsm. Some API name changes were applied to avoid
collisions, but FSM was kept and it is registered during startup with
__attribute__((constructor)). As a result, with old osmo-bsc (+tests)
try to allocate its copy of mgw_endpoint_fsm, it fails because that name
is already registered.
Fixes: 538d2c53d9
Change-Id: I694ce58baa43f536b7e594b003edc891f029aa4a
This commit is contained in:
parent
f027f17dcb
commit
182ca3bad4
|
@ -862,7 +862,7 @@ static int osmo_mgcpc_ep_fsm_timer_cb(struct osmo_fsm_inst *fi)
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct osmo_fsm osmo_mgcpc_ep_fsm = {
|
static struct osmo_fsm osmo_mgcpc_ep_fsm = {
|
||||||
.name = "mgw-endpoint",
|
.name = "mgw-endp",
|
||||||
.states = osmo_mgcpc_ep_fsm_states,
|
.states = osmo_mgcpc_ep_fsm_states,
|
||||||
.num_states = ARRAY_SIZE(osmo_mgcpc_ep_fsm_states),
|
.num_states = ARRAY_SIZE(osmo_mgcpc_ep_fsm_states),
|
||||||
.log_subsys = DLMGCP,
|
.log_subsys = DLMGCP,
|
||||||
|
|
Loading…
Reference in New Issue