Change in libosmo-sccp[master]: examples/sccp_test_server: Log disconnect indication in echo service

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.org
Mon Jan 20 15:41:48 UTC 2020


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-sccp/+/16959 )


Change subject: examples/sccp_test_server: Log disconnect indication in echo service
......................................................................

examples/sccp_test_server: Log disconnect indication in echo service

Change-Id: I221519e75800c8bfbe68e24d04913b0c385c521d
---
M examples/sccp_test_server.c
1 file changed, 5 insertions(+), 0 deletions(-)



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

diff --git a/examples/sccp_test_server.c b/examples/sccp_test_server.c
index 3aef725..aa3a76c 100644
--- a/examples/sccp_test_server.c
+++ b/examples/sccp_test_server.c
@@ -67,6 +67,11 @@
 				      &scu_prim->u.unitdata.calling_addr,
 				      data, data_len);
 		break;
+	case OSMO_PRIM(OSMO_SCU_PRIM_N_DISCONNECT, PRIM_OP_INDICATION):
+		LOGP(DMAIN, LOGL_INFO, "Got N-DISCONNECT.ind (local_ref=%u, cause=%u, importance=%u)\n",
+		     scu_prim->u.disconnect.conn_id, scu_prim->u.disconnect.cause,
+		     scu_prim->u.disconnect.importance);
+		break;
 	default:
 		LOGP(DMAIN, LOGL_NOTICE, "Unknown primitive %s\n",
 		     osmo_scu_prim_name(oph));

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

Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Change-Id: I221519e75800c8bfbe68e24d04913b0c385c521d
Gerrit-Change-Number: 16959
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/d36a0740/attachment.htm>


More information about the gerrit-log mailing list