commit | b9ac37d22f0f8ab4931ed24989682ceb080e0f27 | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <zecke@selfish.org> | Mon Apr 05 17:58:52 2010 +0200 |
committer | Holger Hans Peter Freyther <zecke@selfish.org> | Tue Jun 15 20:24:11 2010 +0800 |
tree | a1a257a8983e4c55852c247cb658858cb4323b44 | |
parent | 32d343644d88b10524b2746e0b2bf3c59be99f16 [diff] [blame] |
nat: Logging improvement for the nat. Print some more information, e.g. when a BSC is connected and authenticated, print the SCCP ref number.
diff --git a/openbsc/src/nat/bsc_sccp.c b/openbsc/src/nat/bsc_sccp.c index 40676b3..a744d34 100644 --- a/openbsc/src/nat/bsc_sccp.c +++ b/openbsc/src/nat/bsc_sccp.c
@@ -140,7 +140,8 @@ } } - LOGP(DNAT, LOGL_ERROR, "Unknown connection.\n"); + LOGP(DNAT, LOGL_ERROR, "Can not remove connection: 0x%x\n", + sccp_src_ref_to_int(parsed->src_local_ref)); } /*