From c2ff55475e5c6df8acd6378fd4ef409b46b8bb9a Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 6 Aug 2010 09:07:20 +0800 Subject: nat: Use the state information for the callback. --- openbsc/src/nat/bsc_mgcp_utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'openbsc') 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; -- cgit v1.2.3