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
Tue Jan 21 10:02:57 UTC 2020


pespin has submitted this change. ( 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(-)

Approvals:
  Jenkins Builder: Verified
  fixeria: Looks good to me, approved
  laforge: Looks good to me, approved



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: 2
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <axilirator at gmail.com>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200121/19ab713b/attachment.htm>


More information about the gerrit-log mailing list