Max has uploaded this change for review. ( https://gerrit.osmocom.org/12333


Change subject: cosmetic: log more details about unhandled message/state
......................................................................

cosmetic: log more details about unhandled message/state

Change-Id: I8e0febd04f7338aed7222dcfcd9bfddc7b8fda59
---
M src/libmsc/gsm_04_08_cc.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/33/12333/1

diff --git a/src/libmsc/gsm_04_08_cc.c b/src/libmsc/gsm_04_08_cc.c
index a172b47..15c6d9d 100644
--- a/src/libmsc/gsm_04_08_cc.c
+++ b/src/libmsc/gsm_04_08_cc.c
@@ -2047,7 +2047,7 @@
                 && ((1 << trans->cc.state) & downstatelist[i].states))
                        break;
        if (i == DOWNSLLEN) {
-               DEBUGP(DCC, "Message unhandled at this state.\n");
+               DEBUGP(DCC, "Message '%s' unhandled at state '%s'\n", 
get_mncc_name(msg_type), gsm48_cc_state_name(trans->cc.state));
                return 0;
        }


--
To view, visit https://gerrit.osmocom.org/12333
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I8e0febd04f7338aed7222dcfcd9bfddc7b8fda59
Gerrit-Change-Number: 12333
Gerrit-PatchSet: 1
Gerrit-Owner: Max <msur...@sysmocom.de>

Reply via email to