<p>Pau Espin Pedrol has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/11332">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">nat: Log state of pending transaction<br><br>Change-Id: I9f686404517bf8a2044cf59dd5bfaf90eb4f798f<br>---<br>M openbsc/src/osmo-bsc_nat/bsc_mgcp_utils.c<br>1 file changed, 2 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/openbsc refs/changes/32/11332/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/openbsc/src/osmo-bsc_nat/bsc_mgcp_utils.c b/openbsc/src/osmo-bsc_nat/bsc_mgcp_utils.c</span><br><span>index 06799bb..9fc8ba3 100644</span><br><span>--- a/openbsc/src/osmo-bsc_nat/bsc_mgcp_utils.c</span><br><span>+++ b/openbsc/src/osmo-bsc_nat/bsc_mgcp_utils.c</span><br><span>@@ -521,8 +521,8 @@</span><br><span>        mgcp_endp = &nat->mgcp_cfg->trunk.endpoints[endpoint];</span><br><span> </span><br><span>         if (bsc_endp->transaction_id) {</span><br><span style="color: hsl(0, 100%, 40%);">-              LOGP(DMGCP, LOGL_ERROR, "Endpoint 0x%x had pending transaction: '%s'\n",</span><br><span style="color: hsl(0, 100%, 40%);">-                   endpoint, bsc_endp->transaction_id);</span><br><span style="color: hsl(120, 100%, 40%);">+          LOGP(DMGCP, LOGL_ERROR, "Endpoint 0x%x had pending transaction: '%s' state %d\n",</span><br><span style="color: hsl(120, 100%, 40%);">+                endpoint, bsc_endp->transaction_id, bsc_endp->transaction_state);</span><br><span>                 talloc_free(bsc_endp->transaction_id);</span><br><span>            bsc_endp->transaction_id = NULL;</span><br><span>          bsc_endp->transaction_state = 0;</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/11332">change 11332</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/11332"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: openbsc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I9f686404517bf8a2044cf59dd5bfaf90eb4f798f </div>
<div style="display:none"> Gerrit-Change-Number: 11332 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Pau Espin Pedrol <pespin@sysmocom.de> </div>