pespin submitted this change.

View Change


Approvals: laforge: Looks good to me, but someone else must approve Jenkins Builder: Verified osmith: Looks good to me, approved
Use new mgcp_client_conf_alloc() API to alloc mgcp_client_conf

Depends: osmo-mgw.git Change-Id Iba0853ed099a32cf1dde78c17e1b34343db41cfc
Change-Id: I9d342d2eff7b57b0c542ff0c1c579f708451637c
---
M TODO-RELEASE
M src/osmo-bsc/osmo_bsc_main.c
2 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/TODO-RELEASE b/TODO-RELEASE
index 690e9ea..4699dbd 100644
--- a/TODO-RELEASE
+++ b/TODO-RELEASE
@@ -14,4 +14,4 @@
libosmo-abis >1.4.0 osmo_ortp.h: add RTP_PT_CSDATA
libosmo-sccp >1.7.0 osmo_sccp_{get,set}_priv()
libosmocore >1.8.0 GSM48_IE_CIP_MODE_SET_HO and GSM48_IE_SYNC_IND_HO
-libosmo-mgcp-client > 1.11.0 mgcp_client_pool_empty()
+libosmo-mgcp-client > 1.11.0 mgcp_client_pool_empty(), mgcp_client_conf_alloc()
\ No newline at end of file
diff --git a/src/osmo-bsc/osmo_bsc_main.c b/src/osmo-bsc/osmo_bsc_main.c
index f3f9cd2..c4b5780 100644
--- a/src/osmo-bsc/osmo_bsc_main.c
+++ b/src/osmo-bsc/osmo_bsc_main.c
@@ -912,9 +912,8 @@
exit(1);
}

- bsc_gsmnet->mgw.conf = talloc_zero(bsc_gsmnet, struct mgcp_client_conf);
+ bsc_gsmnet->mgw.conf = mgcp_client_conf_alloc(bsc_gsmnet);
bsc_gsmnet->mgw.mgw_pool = mgcp_client_pool_alloc(bsc_gsmnet);
- mgcp_client_conf_init(bsc_gsmnet->mgw.conf);

bts_init();
libosmo_abis_init(tall_bsc_ctx);

To view, visit change 33305. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I9d342d2eff7b57b0c542ff0c1c579f708451637c
Gerrit-Change-Number: 33305
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge@osmocom.org>
Gerrit-Reviewer: osmith <osmith@sysmocom.de>
Gerrit-Reviewer: pespin <pespin@sysmocom.de>
Gerrit-MessageType: merged