<p><a href="https://gerrit.osmocom.org/c/osmo-bts/+/17573">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/osmo-bts/+/17573/2/src/common/vty.c">File src/common/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/osmo-bts/+/17573/2/src/common/vty.c@931">Patch Set #2, Line 931:</a> <code style="font-family:monospace,monospace">DEFUN(send_failure_event_report, send_failure_event_report_cmd, "send-failure-event-report <0-255>",</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">probably adding the "test" keyword in the vty command would make it more clear that it's only to be used for testing.</p><p style="white-space: pre-wrap; word-wrap: break-word;">I think you can even check that this command is only run under no config node to make suer it's not added to the vty.cfg file.</p><p style="white-space: pre-wrap; word-wrap: break-word;">Something like: if(vty->node == CONFIG_NODE) { vty_Out("not allowed in cfg, it's for testing"); return CMD_WARNING; }</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bts/+/17573">change 17573</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-bts/+/17573"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bts </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I0c4eba1636d8faf5012db26643bdf1d9fb6bfa1e </div>
<div style="display:none"> Gerrit-Change-Number: 17573 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: osmith <osmith@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-CC: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Mon, 23 Mar 2020 14:49:49 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Gerrit-MessageType: comment </div>