diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-08-06 09:07:20 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-08-06 09:07:20 +0800 |
commit | c2ff55475e5c6df8acd6378fd4ef409b46b8bb9a (patch) | |
tree | 9441c0eed5ae6045b392dfc3a3e137768e258762 /openbsc/src/nat | |
parent | 5b2726e6b5eae3402f08bb5effad65226df93b7b (diff) |
nat: Use the state information for the callback.
Diffstat (limited to 'openbsc/src/nat')
-rw-r--r-- | openbsc/src/nat/bsc_mgcp_utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/nat/bsc_mgcp_utils.c b/openbsc/src/nat/bsc_mgcp_utils.c index 6644c5e63..b103a83ff 100644 --- a/openbsc/src/nat/bsc_mgcp_utils.c +++ b/openbsc/src/nat/bsc_mgcp_utils.c @@ -318,8 +318,8 @@ void bsc_mgcp_forward(struct bsc_connection *bsc, struct msgb *msg) endp->ci = bsc_mgcp_extract_ci((const char *) msg->l2h); if (endp->ci == CI_UNUSED) { - LOGP(DMGCP, LOGL_ERROR, "No CI, freeing endpoint 0x%x\n", - ENDPOINT_NUMBER(endp)); + LOGP(DMGCP, LOGL_ERROR, "No CI, freeing endpoint 0x%x in state %d\n", + ENDPOINT_NUMBER(endp), bsc_endp->transaction_state); bsc_mgcp_free_endpoint(bsc->nat, ENDPOINT_NUMBER(endp)); mgcp_free_endp(endp); return; |