aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2020-01-29 12:48:16 +0100
committerNeels Hofmeyr <neels@hofmeyr.de>2020-01-29 12:48:26 +0100
commit4fa9653733561828551a7aa8c1f9c19f093dadf4 (patch)
tree18860417cba3df13d46b401741bdaf73975816ec
parent5e5ce4aef29a9cb6dcc5f811899c92b61a9995d6 (diff)
gsup_client.c: fix deprecation for client create func
-rw-r--r--src/gsupclient/gsup_client.c17
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;