Change in ...libosmo-sccp[master]: osmo_sccp_simple_client(): use sccp instance 0 instead of 1

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

lynxis lazus gerrit-no-reply at lists.osmocom.org
Tue Aug 6 11:53:04 UTC 2019


lynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-sccp/+/15062


Change subject: osmo_sccp_simple_client(): use sccp instance 0 instead of 1
......................................................................

osmo_sccp_simple_client(): use sccp instance 0 instead of 1

When using osmo_sccp_simple_client(), it will create an sccp instance if
one is not yet present. The sccp connection identifier starts with 0.
So the implicit created connection should use sccp connection 0 (the
first connection).

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



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

diff --git a/src/sccp_user.c b/src/sccp_user.c
index 63eba2a..ff5eb08 100644
--- a/src/sccp_user.c
+++ b/src/sccp_user.c
@@ -635,7 +635,7 @@
 	 *  the only difference is that the ID of the CS7 instance will be
 	 *  set to 1 statically */
 
-	return osmo_sccp_simple_client_on_ss7_id(ctx, 1, name, default_pc, prot,
+	return osmo_sccp_simple_client_on_ss7_id(ctx, 0, name, default_pc, prot,
 						 default_local_port,
 						 default_local_ip,
 						 default_remote_port,

-- 
To view, visit https://gerrit.osmocom.org/c/libosmo-sccp/+/15062
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Change-Id: I9d9f65555b9cdc1e3c697c8b834528d51878e1ae
Gerrit-Change-Number: 15062
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190806/baa2f838/attachment.htm>


More information about the gerrit-log mailing list