diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2020-01-29 12:48:16 +0100 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2020-01-29 12:48:26 +0100 |
commit | 4fa9653733561828551a7aa8c1f9c19f093dadf4 (patch) | |
tree | 18860417cba3df13d46b401741bdaf73975816ec | |
parent | 5e5ce4aef29a9cb6dcc5f811899c92b61a9995d6 (diff) |
gsup_client.c: fix deprecation for client create func
Change-Id: Iab9f416519b5df3bd4683592b2976f16675d9be7
-rw-r--r-- | src/gsupclient/gsup_client.c | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/gsupclient/gsup_client.c b/src/gsupclient/gsup_client.c index 814d5a2..52985c9 100644 --- a/src/gsupclient/gsup_client.c +++ b/src/gsupclient/gsup_client.c @@ -291,14 +291,15 @@ struct osmo_gsup_client *osmo_gsup_client_create2(void *talloc_ctx, if (rc != 0) goto failed; - gsupc->link = ipa_client_conn_create(gsupc, - /* no e1inp */ NULL, - 0, - ip_addr, tcp_port, - gsup_client_updown_cb, - gsup_client_read_cb, - /* default write_cb */ NULL, - gsupc); + gsupc->link = ipa_client_conn_create2(gsupc, + /* no e1inp */ NULL, + 0, + /* no specific local IP:port */ NULL, 0, + ip_addr, tcp_port, + gsup_client_updown_cb, + gsup_client_read_cb, + /* default write_cb */ NULL, + gsupc); if (!gsupc->link) goto failed; |