aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-10-12 17:04:59 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2018-10-12 17:04:59 +0200
commit297f7bbe2ba87d167558d8a05de5ec742c0d1f84 (patch)
tree7b586e74bdbd4f639e3fa59383c9c5e23d6b9756 /openbsc
parent4938b385d8f200d4b4bd28cf09d6f9e28bf88154 (diff)
nat: Log state of pending transaction
Diffstat (limited to 'openbsc')
-rw-r--r--openbsc/src/osmo-bsc_nat/bsc_mgcp_utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/osmo-bsc_nat/bsc_mgcp_utils.c b/openbsc/src/osmo-bsc_nat/bsc_mgcp_utils.c
index 06799bb0b..9fc8ba31e 100644
--- a/openbsc/src/osmo-bsc_nat/bsc_mgcp_utils.c
+++ b/openbsc/src/osmo-bsc_nat/bsc_mgcp_utils.c
@@ -521,8 +521,8 @@ static int bsc_mgcp_policy_cb(struct mgcp_trunk_config *tcfg, int endpoint, int
mgcp_endp = &nat->mgcp_cfg->trunk.endpoints[endpoint];
if (bsc_endp->transaction_id) {
- LOGP(DMGCP, LOGL_ERROR, "Endpoint 0x%x had pending transaction: '%s'\n",
- endpoint, bsc_endp->transaction_id);
+ LOGP(DMGCP, LOGL_ERROR, "Endpoint 0x%x had pending transaction: '%s' state %d\n",
+ endpoint, bsc_endp->transaction_id, bsc_endp->transaction_state);
talloc_free(bsc_endp->transaction_id);
bsc_endp->transaction_id = NULL;
bsc_endp->transaction_state = 0;