aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/nat/bsc_mgcp_utils.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-04-05 17:58:52 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-06-15 20:24:11 +0800
commitb9ac37d22f0f8ab4931ed24989682ceb080e0f27 (patch)
treea1a257a8983e4c55852c247cb658858cb4323b44 /openbsc/src/nat/bsc_mgcp_utils.c
parent32d343644d88b10524b2746e0b2bf3c59be99f16 (diff)
nat: Logging improvement for the nat.
Print some more information, e.g. when a BSC is connected and authenticated, print the SCCP ref number.
Diffstat (limited to 'openbsc/src/nat/bsc_mgcp_utils.c')
-rw-r--r--openbsc/src/nat/bsc_mgcp_utils.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbsc/src/nat/bsc_mgcp_utils.c b/openbsc/src/nat/bsc_mgcp_utils.c
index 82eeefc6b..0c666c075 100644
--- a/openbsc/src/nat/bsc_mgcp_utils.c
+++ b/openbsc/src/nat/bsc_mgcp_utils.c
@@ -213,7 +213,8 @@ void bsc_mgcp_forward(struct bsc_connection *bsc, struct msgb *msg)
}
if (!bsc_endp) {
- LOGP(DMGCP, LOGL_ERROR, "Could not find active endpoint: %s\n", transaction_id);
+ LOGP(DMGCP, LOGL_ERROR, "Could not find active endpoint: %s for msg: '%s'\n",
+ transaction_id, (const char *) msg->l2h);
return;
}