Use new mgcp_client_conf_alloc() API to alloc mgcp_client_conf
Depends: osmo-mgw.git Change-Id Iba0853ed099a32cf1dde78c17e1b34343db41cfc Change-Id: I0f142e7af180136e8dac142672d38d75a76ef123
This commit is contained in:
parent
d5fe76dec8
commit
a77b7358d2
|
@ -56,8 +56,7 @@ void g_hnbgw_alloc(void *ctx)
|
|||
INIT_LLIST_HEAD(&g_hnbgw->sccp.users);
|
||||
|
||||
g_hnbgw->mgw_pool = mgcp_client_pool_alloc(g_hnbgw);
|
||||
g_hnbgw->config.mgcp_client = talloc_zero(g_hnbgw, struct mgcp_client_conf);
|
||||
mgcp_client_conf_init(g_hnbgw->config.mgcp_client);
|
||||
g_hnbgw->config.mgcp_client = mgcp_client_conf_alloc(g_hnbgw);
|
||||
|
||||
#if ENABLE_PFCP
|
||||
g_hnbgw->config.pfcp.remote_port = OSMO_PFCP_PORT;
|
||||
|
|
Loading…
Reference in New Issue