diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-10-12 17:04:59 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-10-12 17:04:59 +0200 |
commit | 297f7bbe2ba87d167558d8a05de5ec742c0d1f84 (patch) | |
tree | 7b586e74bdbd4f639e3fa59383c9c5e23d6b9756 /openbsc/src/osmo-bsc_nat/bsc_mgcp_utils.c | |
parent | 4938b385d8f200d4b4bd28cf09d6f9e28bf88154 (diff) |
nat: Log state of pending transaction
Change-Id: I9f686404517bf8a2044cf59dd5bfaf90eb4f798f
Diffstat (limited to 'openbsc/src/osmo-bsc_nat/bsc_mgcp_utils.c')
-rw-r--r-- | openbsc/src/osmo-bsc_nat/bsc_mgcp_utils.c | 4 |
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; |