<p>neels has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-bsc/+/25040">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">vty: improve err msg for invalid subslot nr<br><br>Change-Id: I2f649bd2d8d9f217c22b62d2842e1e4fa101ba11<br>---<br>M src/osmo-bsc/bsc_vty.c<br>1 file changed, 2 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/40/25040/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/osmo-bsc/bsc_vty.c b/src/osmo-bsc/bsc_vty.c</span><br><span>index b0fe8bf..6d10426 100644</span><br><span>--- a/src/osmo-bsc/bsc_vty.c</span><br><span>+++ b/src/osmo-bsc/bsc_vty.c</span><br><span>@@ -1728,7 +1728,8 @@</span><br><span>             return CMD_WARNING;</span><br><span> </span><br><span>      if (ss_nr >= ts->max_primary_lchans) {</span><br><span style="color: hsl(0, 100%, 40%);">-            vty_out(vty, "Invalid sub-slot number for this timeslot type%s", VTY_NEWLINE);</span><br><span style="color: hsl(120, 100%, 40%);">+              vty_out(vty, "Invalid sub-slot number %d for this timeslot type: %s (%u)%s", ss_nr,</span><br><span style="color: hsl(120, 100%, 40%);">+                 gsm_pchan_name(ts->pchan_on_init), ts->max_primary_lchans, VTY_NEWLINE);</span><br><span>               return CMD_WARNING;</span><br><span>  }</span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bsc/+/25040">change 25040</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-bsc/+/25040"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bsc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I2f649bd2d8d9f217c22b62d2842e1e4fa101ba11 </div>
<div style="display:none"> Gerrit-Change-Number: 25040 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>