<p>Max has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/11815">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">LCLS: make config and control redable in 'sh conns'<br><br>Display LCLS config and control state as text in "show conns" command.<br><br>Change-Id: Ibc2525d453e3aa845fe6f3a98f908c2b6b49f1f0<br>Related: OS#3659<br>---<br>M src/osmo-bsc/bsc_vty.c<br>1 file changed, 4 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/15/11815/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 9115c01..82a0784 100644</span><br><span>--- a/src/osmo-bsc/bsc_vty.c</span><br><span>+++ b/src/osmo-bsc/bsc_vty.c</span><br><span>@@ -1532,8 +1532,10 @@</span><br><span>            vty_out(vty, " LCLS GCR: %s%s",</span><br><span>                    osmo_hexdump_nospc(conn->lcls.global_call_ref, conn->lcls.global_call_ref_len),</span><br><span>                        VTY_NEWLINE);</span><br><span style="color: hsl(0, 100%, 40%);">-           vty_out(vty, " LCLS Config: 0x%02x, LCLS Control: 0x%02x, LCLS BSS Status: %s%s",</span><br><span style="color: hsl(0, 100%, 40%);">-                     conn->lcls.config, conn->lcls.control, osmo_fsm_inst_state_name(conn->lcls.fi),</span><br><span style="color: hsl(120, 100%, 40%);">+              vty_out(vty, " LCLS Config: %s, LCLS Control: %s, LCLS BSS Status: %s%s",</span><br><span style="color: hsl(120, 100%, 40%);">+                   gsm0808_lcls_config_name(conn->lcls.config),</span><br><span style="color: hsl(120, 100%, 40%);">+                       gsm0808_lcls_control_name(conn->lcls.control),</span><br><span style="color: hsl(120, 100%, 40%);">+                     osmo_fsm_inst_state_name(conn->lcls.fi),</span><br><span>                  VTY_NEWLINE);</span><br><span>        }</span><br><span>    if (conn->lchan)</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/11815">change 11815</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/11815"/><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: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Ibc2525d453e3aa845fe6f3a98f908c2b6b49f1f0 </div>
<div style="display:none"> Gerrit-Change-Number: 11815 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Max <msuraev@sysmocom.de> </div>