[PATCH] libosmo-sccp[master]: sua: Ensure that a SUA client will continuously try to recon...

Harald Welte gerrit-no-reply at lists.osmocom.org
Wed Jan 25 21:40:14 UTC 2017


Review at  https://gerrit.osmocom.org/1668

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

Change-Id: Ic05a2b78e29e4ede214a3395430ef54bacd84e60
---
M src/sua.c
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmo-sccp refs/changes/68/1668/1

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

-- 
To view, visit https://gerrit.osmocom.org/1668
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic05a2b78e29e4ede214a3395430ef54bacd84e60
Gerrit-PatchSet: 1
Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>


More information about the gerrit-log mailing list