sua: Ensure that a SUA client will continuously try to reconnect

Change-Id: Ic05a2b78e29e4ede214a3395430ef54bacd84e60
This commit is contained in:
Harald Welte 2015-12-26 23:36:27 +01:00
parent 32a1d54279
commit b5f0d1c9bc
1 changed files with 1 additions and 1 deletions

View File

@ -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);