pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-hnbgw/+/33307 )
Change subject: Use new mgcp_client_conf_alloc() API to alloc mgcp_client_conf ......................................................................
Use new mgcp_client_conf_alloc() API to alloc mgcp_client_conf
Depends: osmo-mgw.git Change-Id Iba0853ed099a32cf1dde78c17e1b34343db41cfc Change-Id: I0f142e7af180136e8dac142672d38d75a76ef123 --- M src/osmo-hnbgw/hnbgw.c 1 file changed, 11 insertions(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-hnbgw refs/changes/07/33307/1
diff --git a/src/osmo-hnbgw/hnbgw.c b/src/osmo-hnbgw/hnbgw.c index 0d64adf..e76dfde 100644 --- a/src/osmo-hnbgw/hnbgw.c +++ b/src/osmo-hnbgw/hnbgw.c @@ -56,8 +56,7 @@ 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;