<p><a href="https://gerrit.osmocom.org/13006">View Change</a></p><p>4 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/13006/13/src/hlr.c">File src/hlr.c:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/13006/13/src/hlr.c@469">Patch Set #13, Line 469:</a> <code style="font-family:monospace,monospace">session_id</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">AFAIR, libosmocore doesn't encode the OSMO_GSUP_SESSION_ID_IE if gsup_msg->session_state == 0. Most likely, we should also store the gsup_msg->session_state here.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/13006/13/src/hlr.c@485">Patch Set #13, Line 485:</a> <code style="font-family:monospace,monospace">if (!msgb_l2(msg) || !msgb_l2len(msg)) </code></p><p style="white-space: pre-wrap; word-wrap: break-word;">This check is redundant and not actually needed, since we do osmo_gsup_decode(msgb_l2(msg), msgb_l2len(msg), &gsup) at line #525.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/13006/13/src/hlr.c@501">Patch Set #13, Line 501:</a> <code style="font-family:monospace,monospace">LOGP_GSUP_FWD</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Here we would see 'OSMO_GSUP_MSGT_E_ROUTING_ERROR' as the message name, because we don't store the original value. This may be confusing.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/13006/13/src/hlr.c@503">Patch Set #13, Line 503:</a> <code style="font-family:monospace,monospace">LOGP_GSUP_FWD</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Same as above.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/13006">change 13006</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/13006"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-hlr </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: Ia4f345abc877baaf0a8f73b8988e6514d9589bf5 </div>
<div style="display:none"> Gerrit-Change-Number: 13006 </div>
<div style="display:none"> Gerrit-PatchSet: 13 </div>
<div style="display:none"> Gerrit-Owner: osmith <osmith@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder (1000002) </div>
<div style="display:none"> Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: osmith <osmith@sysmocom.de> </div>
<div style="display:none"> Gerrit-CC: Vadim Yanitskiy <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Tue, 07 May 2019 13:29:23 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: No </div>