Change in osmo-bsc[master]: log: add MSC number to bsc_subscr_conn_fsm id

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/.

laforge gerrit-no-reply at lists.osmocom.org
Thu Jun 18 11:27:47 UTC 2020


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-bsc/+/18768 )

Change subject: log: add MSC number to bsc_subscr_conn_fsm id
......................................................................

log: add MSC number to bsc_subscr_conn_fsm id

Change-Id: Iae232d0616d6c0009e3abe2dcfcb9c51ddfc761e
---
M src/osmo-bsc/bsc_subscr_conn_fsm.c
1 file changed, 4 insertions(+), 1 deletion(-)

Approvals:
  Jenkins Builder: Verified
  fixeria: Looks good to me, but someone else must approve
  laforge: Looks good to me, approved



diff --git a/src/osmo-bsc/bsc_subscr_conn_fsm.c b/src/osmo-bsc/bsc_subscr_conn_fsm.c
index 3da9d66..1d30246 100644
--- a/src/osmo-bsc/bsc_subscr_conn_fsm.c
+++ b/src/osmo-bsc/bsc_subscr_conn_fsm.c
@@ -16,6 +16,8 @@
  *
  */
 
+#include <limits.h>
+
 #include <osmocom/core/fsm.h>
 #include <osmocom/core/logging.h>
 #include <osmocom/gsm/gsm0808.h>
@@ -1067,7 +1069,8 @@
 /* Compose an FSM ID, if possible from the current subscriber information */
 void gscon_update_id(struct gsm_subscriber_connection *conn)
 {
-	osmo_fsm_inst_update_id_f(conn->fi, "conn%u%s%s",
+	osmo_fsm_inst_update_id_f(conn->fi, "msc%u-conn%u%s%s",
+				  conn->sccp.msc ? conn->sccp.msc->nr : UINT_MAX,
 				  conn->sccp.conn_id,
 				  conn->bsub? "_" : "",
 				  conn->bsub? bsc_subscr_id(conn->bsub) : "");

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/18768
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: Iae232d0616d6c0009e3abe2dcfcb9c51ddfc761e
Gerrit-Change-Number: 18768
Gerrit-PatchSet: 9
Gerrit-Owner: neels <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <dwillmann at sysmocom.de>
Gerrit-Reviewer: dexter <pmaier at sysmocom.de>
Gerrit-Reviewer: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: neels <nhofmeyr at sysmocom.de>
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/20200618/4ecc9801/attachment.htm>


More information about the gerrit-log mailing list