<p>Patch set 1:<span style="border-radius: 3px; display: inline-block; margin: 0 2px; padding: 4px;background-color: #ffd4d4;">Code-Review -1</span></p><p><a href="https://gerrit.osmocom.org/10026">View Change</a></p><p>1 comment:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/10026/1/src/osmo-bsc/bsc_vty.c">File src/osmo-bsc/bsc_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/10026/1/src/osmo-bsc/bsc_vty.c@4037">Patch Set #1, Line 4037:</a> <code style="font-family:monospace,monospace">             if (vty->type == VTY_FILE)</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">nice, with CMD_ERR_NO_MATCH, you've found a way of aborting program startup without aborting a running application from telnet vty. For that you don't actually need to check vty->type == VTY_FILE, just always return CMD_ERR_NO_MATCH.</p><p style="white-space: pre-wrap; word-wrap: break-word;">(Checking for VTY_FILE allows to exit(-1) or OSMO_ASSERT(false) except when in telnet mode, but CMD_ERR_NO_MATCH actually has exactly the desired effect, and my hint at VTY_FILE on redmine was just confusing you)</p><p style="white-space: pre-wrap; word-wrap: break-word;">(only now do I actually fully realize that the entire issue exists only with uppercase pchan types, and that one gets proper command matching with the lower case ones; weird hysterical raisins I guess.)</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/10026">change 10026</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/10026"/><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-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: I97baa359464a0e94de2497bc9214b99ed2a24041 </div>
<div style="display:none"> Gerrit-Change-Number: 10026 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Stefan Sperling <ssperling@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Wed, 18 Jul 2018 23:15:09 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: Yes </div>