aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-04-21 18:49:55 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-04-21 18:49:55 +0800
commit119a1976f538d671e7c9b097f2dc8aff76d3be15 (patch)
tree26b24be9f0083a3280d5c1ee726541b5884e0961 /openbsc
parentc53c2ab524620a173de332111ccbda60e22c484d (diff)
[nat] Slightly improve logging..
If we find the connection of a different BSC at least log the BSCs that had duplicated references. We should also dump the src ref and such but i am not doing this right now.
Diffstat (limited to 'openbsc')
-rw-r--r--openbsc/src/nat/bsc_nat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbsc/src/nat/bsc_nat.c b/openbsc/src/nat/bsc_nat.c
index abf38ce4e..00dcc8884 100644
--- a/openbsc/src/nat/bsc_nat.c
+++ b/openbsc/src/nat/bsc_nat.c
@@ -556,7 +556,8 @@ static int forward_sccp_to_msc(struct bsc_connection *bsc, struct msgb *msg)
}
if (con && con->bsc != bsc) {
- LOGP(DNAT, LOGL_ERROR, "Found the wrong entry.\n");
+ LOGP(DNAT, LOGL_ERROR, "The connection belongs to a different BTS: input: %d con: %d\n",
+ bsc->cfg->nr, con->bsc->cfg->nr);
goto exit2;
}