<p>fixeria has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-bts/+/18683">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">vty: fix bts_dump_vty(): properly print OML stream ID (TEI)<br><br>Change-Id: I80ceba60e4b48d5bc68de71a2b2a2036b1e78f57<br>---<br>M include/osmo-bts/gsm_data_shared.h<br>M src/common/vty.c<br>2 files 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-bts refs/changes/83/18683/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/include/osmo-bts/gsm_data_shared.h b/include/osmo-bts/gsm_data_shared.h</span><br><span>index 2d45e2f..dda7cf0 100644</span><br><span>--- a/include/osmo-bts/gsm_data_shared.h</span><br><span>+++ b/include/osmo-bts/gsm_data_shared.h</span><br><span>@@ -533,7 +533,6 @@</span><br><span>   int ms_max_power;</span><br><span> </span><br><span>        /* how do we talk OML with this TRX? */</span><br><span style="color: hsl(0, 100%, 40%);">- uint8_t oml_tei;</span><br><span>     struct e1inp_sign_link *oml_link;</span><br><span>    struct timespec oml_conn_established_timestamp;</span><br><span> </span><br><span>diff --git a/src/common/vty.c b/src/common/vty.c</span><br><span>index a57f3b5..1d74b36 100644</span><br><span>--- a/src/common/vty.c</span><br><span>+++ b/src/common/vty.c</span><br><span>@@ -856,7 +856,8 @@</span><br><span>               bts->description ? bts->description : "(null)", VTY_NEWLINE);</span><br><span>        vty_out(vty, "  Unit ID: %u/%u/0, OML Stream ID 0x%02x%s",</span><br><span>                         bts->ip_access.site_id, bts->ip_access.bts_id,</span><br><span style="color: hsl(0, 100%, 40%);">-                    bts->oml_tei, VTY_NEWLINE);</span><br><span style="color: hsl(120, 100%, 40%);">+                        bts->oml_link ? bts->oml_link->tei : 0x00,</span><br><span style="color: hsl(120, 100%, 40%);">+                   VTY_NEWLINE);</span><br><span>        vty_out(vty, "  NM State: ");</span><br><span>      net_dump_nmstate(vty, &bts->mo.nm_state);</span><br><span>     vty_out(vty, "  Site Mgr NM State: ");</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bts/+/18683">change 18683</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/+/18683"/><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: I80ceba60e4b48d5bc68de71a2b2a2036b1e78f57 </div>
<div style="display:none"> Gerrit-Change-Number: 18683 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: fixeria <vyanitskiy@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>