<p>Neels Hofmeyr <strong>uploaded patch set #3</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/10677">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">mgcp_conn_get(): compare conn Id ('I:') case insensitively<br><br>The Connection Identifier is defined as a hex string, so clients may send the<br>ID back in lower case. Convert to upper case before comparing.<br><br>A specific SCCPlite MSC is observed to DLCX with Connection Identifier in lower<br>case, which would mismatch pefore this patch.<br><br>Add test_conn_id_matching() in mgcp_test.c to verify case insensitivity.<br><br>Cosmetic: use strcmp(), not strncmp(). In the presence of a terminating nul as<br>we can assume here, this makes no functional difference, but it clarifies the<br>code.<br><br>Related: OS#3508<br>Change-Id: I8e52278c3abe9e9c8c848c2b1538bce443f68a43<br>---<br>M src/libosmo-mgcp/mgcp_conn.c<br>M tests/mgcp/mgcp_test.c<br>M tests/mgcp/mgcp_test.ok<br>3 files changed, 57 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-mgw refs/changes/77/10677/3</pre><p>To view, visit <a href="https://gerrit.osmocom.org/10677">change 10677</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/10677"/><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: I8e52278c3abe9e9c8c848c2b1538bce443f68a43 </div>
<div style="display:none"> Gerrit-Change-Number: 10677 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: Neels Hofmeyr <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Harald Welte <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder (1000002) </div>