Review at  https://gerrit.osmocom.org/6588

SIGTRAN: correct wrong log category

osmo_bsc_sigtran.c uses DRANAP instead of DMSC in two places,
this is not correct.

- change wrong DRANAP to DMSC

Change-Id: I1594d1906cf7d053d00fff52e9dc0ddfd097ed6e
---
M src/osmo-bsc/osmo_bsc_sigtran.c
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/88/6588/1

diff --git a/src/osmo-bsc/osmo_bsc_sigtran.c b/src/osmo-bsc/osmo_bsc_sigtran.c
index 0ffc146..ab903b6 100644
--- a/src/osmo-bsc/osmo_bsc_sigtran.c
+++ b/src/osmo-bsc/osmo_bsc_sigtran.c
@@ -193,7 +193,7 @@
                               osmo_hexdump(msgb_l2(oph->msg), 
msgb_l2len(oph->msg)));
                        rc = handle_data_from_msc(scu_prim->u.connect.conn_id, 
oph->msg);
                } else
-                       DEBUGP(DRANAP, "N-CONNECT.cnf(%u)\n", 
scu_prim->u.connect.conn_id);
+                       DEBUGP(DMSC, "N-CONNECT.cnf(%u)\n", 
scu_prim->u.connect.conn_id);
                break;
 
        case OSMO_PRIM(OSMO_SCU_PRIM_N_DATA, PRIM_OP_INDICATION):
@@ -219,7 +219,7 @@
                               osmo_hexdump(msgb_l2(oph->msg), 
msgb_l2len(oph->msg)), scu_prim->u.disconnect.cause);
                        handle_data_from_msc(scu_prim->u.disconnect.conn_id, 
oph->msg);
                } else {
-                       DEBUGP(DRANAP, "N-DISCONNECT.ind(%u, cause=%i)\n", 
scu_prim->u.disconnect.conn_id,
+                       DEBUGP(DMSC, "N-DISCONNECT.ind(%u, cause=%i)\n", 
scu_prim->u.disconnect.conn_id,
                               scu_prim->u.disconnect.cause);
                }
                if (conn)

-- 
To view, visit https://gerrit.osmocom.org/6588
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1594d1906cf7d053d00fff52e9dc0ddfd097ed6e
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Owner: dexter <pma...@sysmocom.de>

Reply via email to