diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2020-06-07 22:10:46 +0200 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2020-06-17 00:14:01 +0200 |
commit | e15dec75acc9f7192a46ed31294b210e959706ab (patch) | |
tree | fcfdb2fc35aa8d448865a01a5a023456417324d0 /src | |
parent | b34fdf286866b7caf828375c2782adce97c185de (diff) |
log: add MSC number to bsc_subscr_conn_fsm id
Change-Id: Iae232d0616d6c0009e3abe2dcfcb9c51ddfc761e
Diffstat (limited to 'src')
-rw-r--r-- | src/osmo-bsc/bsc_subscr_conn_fsm.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/osmo-bsc/bsc_subscr_conn_fsm.c b/src/osmo-bsc/bsc_subscr_conn_fsm.c index 3da9d6678..1d3024610 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 @@ void gscon_submit_rsl_dtap(struct gsm_subscriber_connection *conn, /* 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) : ""); |