diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-04-06 16:07:44 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-04-06 17:44:39 +0200 |
commit | 546c296c4afe41181ba759ddf7505cc9d1aded9e (patch) | |
tree | 6959b60dde3af642159b268b50c55111ef70ba90 /openbsc | |
parent | 86f42eb6a5091805e5569edeed1f32b97124f720 (diff) |
nat: Print a MSG when receiving unknown SCCP messages.
Diffstat (limited to 'openbsc')
-rw-r--r-- | openbsc/src/nat/bsc_nat.c | 3 |
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); |