aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-04-06 16:07:44 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-04-06 17:44:39 +0200
commit546c296c4afe41181ba759ddf7505cc9d1aded9e (patch)
tree6959b60dde3af642159b268b50c55111ef70ba90 /openbsc
parent86f42eb6a5091805e5569edeed1f32b97124f720 (diff)
nat: Print a MSG when receiving unknown SCCP messages.
Diffstat (limited to 'openbsc')
-rw-r--r--openbsc/src/nat/bsc_nat.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/src/nat/bsc_nat.c b/openbsc/src/nat/bsc_nat.c
index 561be8af6..ded26b01d 100644
--- a/openbsc/src/nat/bsc_nat.c
+++ b/openbsc/src/nat/bsc_nat.c
@@ -225,6 +225,9 @@ static int forward_sccp_to_bts(struct msgb *msg)
default:
goto exit;
}
+
+ if (!con)
+ LOGP(DNAT, LOGL_ERROR, "Unknown connection for msg type: 0x%x.\n", parsed->sccp_type);
}
talloc_free(parsed);