diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2023-06-13 19:53:26 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2023-06-13 19:53:30 +0200 |
commit | ea9a6a1aeafa0760bddc028caf622f1e07ddb3b9 (patch) | |
tree | d9d62272e2641d00aa8a3074a2aaef8117f52cbc | |
parent | 43440e1fc5758c52e80a0d182afa7c9d16b21426 (diff) |
Use new mgcp_client_conf_alloc() API to alloc mgcp_client_conf
Depends: osmo-mgw.git Change-Id Iba0853ed099a32cf1dde78c17e1b34343db41cfc
Change-Id: I9d342d2eff7b57b0c542ff0c1c579f708451637c
-rw-r--r-- | TODO-RELEASE | 2 | ||||
-rw-r--r-- | src/osmo-bsc/osmo_bsc_main.c | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/TODO-RELEASE b/TODO-RELEASE index 690e9ea2b..4699dbd11 100644 --- a/TODO-RELEASE +++ b/TODO-RELEASE @@ -14,4 +14,4 @@ libosmogsm >1.8.0 circuit switched data stuff (gsm0808_enc/dec_channel_type etc 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 f3f9cd2ae..c4b5780b3 100644 --- a/src/osmo-bsc/osmo_bsc_main.c +++ b/src/osmo-bsc/osmo_bsc_main.c @@ -912,9 +912,8 @@ int main(int argc, char **argv) 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); |