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/.
pespin gerrit-no-reply at lists.osmocom.orgpespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-sccp/+/16957 )
Change subject: osmo_sccp_simple_server(): use sccp instance index 0 instead of 1
......................................................................
osmo_sccp_simple_server(): use sccp instance index 0 instead of 1
When using osmo_sccp_simple_client(), it will create an sccp instance if
none exists. The sccp instance identifier starts with 0.
The implicit created instance should use sccp instance 0 (the
first connection).
This is basically a counterpart of much older commit
3884eb68d9322967340d4f04e7382b2147ec7a2e, were same logic was applied to
osmo_sccp_simple_client().
Change-Id: I85d2680ac65a552d7b2824ec41cd8fc669782079
---
M src/sccp_user.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-sccp refs/changes/57/16957/1
diff --git a/src/sccp_user.c b/src/sccp_user.c
index 386f424..d85fc1d 100644
--- a/src/sccp_user.c
+++ b/src/sccp_user.c
@@ -691,7 +691,7 @@
enum osmo_ss7_asp_protocol prot, int local_port,
const char *local_ip)
{
- return osmo_sccp_simple_server_on_ss7_id(ctx, 1, pc, prot,
+ return osmo_sccp_simple_server_on_ss7_id(ctx, 0, pc, prot,
local_port, local_ip);
}
--
To view, visit https://gerrit.osmocom.org/c/libosmo-sccp/+/16957
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Change-Id: I85d2680ac65a552d7b2824ec41cd8fc669782079
Gerrit-Change-Number: 16957
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200120/4011055d/attachment.htm>