<p style="white-space: pre-wrap; word-wrap: break-word;">we can drop the API compat stuff.</p><p style="white-space: pre-wrap; word-wrap: break-word;">If you like also cut out the tests expectations stuff with a static ipa_dev -- even though my idea is slightly ugly (but then again we do keep a lot of global state anyway, and there will never be more than one gsm_network and vlr)</p><p>Patch set 2:<span style="border-radius: 3px; display: inline-block; margin: 0 2px; padding: 4px;background-color: #d4ffd4;">Code-Review +1</span></p><p><a href="https://gerrit.osmocom.org/12177">View Change</a></p><p>3 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/12177/2/src/libmsc/gsm_04_08.c">File src/libmsc/gsm_04_08.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/12177/2/src/libmsc/gsm_04_08.c@1834">Patch Set #2, Line 1834:</a> <code style="font-family:monospace,monospace">      ipa_dev = talloc_zero(net->vlr, struct ipaccess_unit);</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">could use a static struct, then no talloc, and no changes in the test expectations?</p><p style="white-space: pre-wrap; word-wrap: break-word;">though ... technically your patch this is nicer</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/12177/2/src/libmsc/msc_vty.c">File src/libmsc/msc_vty.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/12177/2/src/libmsc/msc_vty.c@464">Patch Set #2, Line 464:</a> <code style="font-family:monospace,monospace">      "Set the IPA name of this MSC (by default, no name is set)\n"</code></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">"This is transmitted as IPA Serial Number tag, which is used for GSUP routing (e.g. in OsmoHLR).<br>  For inter-MSC handover, the remote MSC's neighbor configuration requires to match this name.<br>  If no name is set, the IPA Serial Number will be the same as the Unit Name,<br>  and will be of the form 'MSC-00-00-00-00-00-00'."</pre><p style="white-space: pre-wrap; word-wrap: break-word;">Feel free to use any number of lines for a doc string (only end the last one in \n), vty will automatically format the output (I hope).</p><p style="white-space: pre-wrap; word-wrap: break-word;">We can also add this text later...</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/12177/2/src/libvlr/vlr.c">File src/libvlr/vlr.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/12177/2/src/libvlr/vlr.c@1222">Patch Set #2, Line 1222:</a> <code style="font-family:monospace,monospace">int vlr_start2(struct ipaccess_unit *ipa_dev, struct vlr_instance *vlr,</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">since we're inside osmo-msc and no-one is including libvlr except the msc itself, we can just change the function signature and not be backwards compatible.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/12177">change 12177</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/12177"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-msc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: I317d6c59f77e92fbb2b875a83dc0ec2fa5cb6006 </div>
<div style="display:none"> Gerrit-Change-Number: 12177 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Stefan Sperling <stsp@stsp.name> </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-Comment-Date: Thu, 06 Dec 2018 18:14:06 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: Yes </div>