aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2015-12-26 23:36:27 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-09-27 16:48:32 +0200
commite805be08343ec14697c78c4de189090a0af74ea6 (patch)
tree16036e41544903f0ce7282d36ddd91f45188e38b
parentd918b7f2619200561e7e320395d876835933edfb (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 160dda3..092f69e 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);