diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-04-05 17:58:52 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-04-05 17:58:52 +0200 |
commit | 07bb5094344876a85485c9ffee3247ff38fcece3 (patch) | |
tree | 66a3bad25d5ab15dfd016b5bd193e37b799c808a /openbsc/src/nat/bsc_mgcp_utils.c | |
parent | 08db6ca509f8e06dc6aa686a92cad8613ccbc31e (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.c | 3 |
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; } |