<p>osmith has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-msc/+/15894">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">msc_vty: no warning for ignored "cs7-instance-iu"<br><br>Do not return a warning and therefore fail parsing the config when<br>"cs7-instance-iu" is used and IU is disabled. This fixes the vty tests,<br>which are failing since libosmocore change<br>Ic225232fbfca49ba868427eaf898e1f6e34e1ca8.<br><br>Change-Id: I8889c21307257e7c32d0c3f9dcafb617c1b05efd<br>---<br>M src/libmsc/msc_vty.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/osmo-msc refs/changes/94/15894/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/libmsc/msc_vty.c b/src/libmsc/msc_vty.c</span><br><span>index 51504ef..dc170d3 100644</span><br><span>--- a/src/libmsc/msc_vty.c</span><br><span>+++ b/src/libmsc/msc_vty.c</span><br><span>@@ -500,12 +500,12 @@</span><br><span> {</span><br><span> #if BUILD_IU</span><br><span>       gsmnet->iu.cs7_instance = atoi(argv[0]);</span><br><span style="color: hsl(0, 100%, 40%);">-     return CMD_SUCCESS;</span><br><span> #else</span><br><span>         vty_out(vty, "WARNING: 'cs7-instance-iu' without effect: built without Iu support%s",</span><br><span>              VTY_NEWLINE);</span><br><span style="color: hsl(0, 100%, 40%);">-   return CMD_WARNING;</span><br><span style="color: hsl(120, 100%, 40%);">+   /* Return CMD_SUCCESS anyway, so we can use the same config. */</span><br><span> #endif</span><br><span style="color: hsl(120, 100%, 40%);">+     return CMD_SUCCESS;</span><br><span> }</span><br><span> </span><br><span> DEFUN(cfg_msc_auth_tuple_max_reuse_count, cfg_msc_auth_tuple_max_reuse_count_cmd,</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-msc/+/15894">change 15894</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/c/osmo-msc/+/15894"/><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-Change-Id: I8889c21307257e7c32d0c3f9dcafb617c1b05efd </div>
<div style="display:none"> Gerrit-Change-Number: 15894 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: osmith <osmith@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>