summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2015-12-26 23:36:27 +0100
committerHarald Welte <laforge@gnumonks.org>2017-01-27 09:59:30 +0100
commitb5f0d1c9bc16fb4c90ca48ba5bfb9f775f221d45 (patch)
tree7aa0e0952bcda20876cf2bc46db61b9ad44eb1ac
parent32a1d54279b52eedcf098501b5f43652fbc8785c (diff)
sua: Ensure that a SUA client will continuously try to reconnect
-rw-r--r--src/sua.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sua.c b/src/sua.c
index ad8385d..110f1e5 100644
--- a/src/sua.c
+++ b/src/sua.c
@@ -1385,7 +1385,7 @@ int osmo_sua_client_connect(struct osmo_sccp_user *user, const char *hostname, u
sual->data = cli;
osmo_stream_cli_set_data(cli, sual);
- rc = osmo_stream_cli_open(cli);
+ rc = osmo_stream_cli_open2(cli, 1);
if (rc < 0) {
sua_link_destroy(sual);
osmo_stream_cli_destroy(cli);