<p>dexter <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/9259">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">protocol: Try whole port range on port allocation<br><br>The function allocate_port tryes at least 200 different ports when<br>a new port is allocated. Since after every allocation the port<br>number is incremented the allocation should be able to allocate<br>a port with the first attempt. However, the number 200 is an<br>arbitrary number and it will not cover the whole port range in<br>most cases.<br><br>- Make sure that in the worst case at each port in the range<br> is tryed once, not only the next 200<br><br>Change-Id: Ic47f09869eaddd4aea817bb2517362883d65d029<br>Related: OS#2825<br>---<br>M src/libosmo-mgcp/mgcp_protocol.c<br>1 file changed, 8 insertions(+), 5 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-mgw refs/changes/59/9259/2</pre><p>To view, visit <a href="https://gerrit.osmocom.org/9259">change 9259</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/9259"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: osmo-mgw </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>
<div style="display:none"> Gerrit-Change-Id: Ic47f09869eaddd4aea817bb2517362883d65d029 </div>
<div style="display:none"> Gerrit-Change-Number: 9259 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: dexter <pmaier@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-CC: Harald Welte <laforge@gnumonks.org> </div>