From e805be08343ec14697c78c4de189090a0af74ea6 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sat, 26 Dec 2015 23:36:27 +0100 Subject: sua: Ensure that a SUA client will continuously try to reconnect --- src/sua.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3