aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/osmo-bts/gsm_data_shared.h1
-rw-r--r--src/common/vty.c3
2 files changed, 2 insertions, 2 deletions
diff --git a/include/osmo-bts/gsm_data_shared.h b/include/osmo-bts/gsm_data_shared.h
index 65e8bfaf..f010dbc8 100644
--- a/include/osmo-bts/gsm_data_shared.h
+++ b/include/osmo-bts/gsm_data_shared.h
@@ -536,7 +536,6 @@ struct gsm_bts {
int ms_max_power;
/* how do we talk OML with this TRX? */
- uint8_t oml_tei;
struct e1inp_sign_link *oml_link;
struct timespec oml_conn_established_timestamp;
diff --git a/src/common/vty.c b/src/common/vty.c
index a57f3b59..1d74b367 100644
--- a/src/common/vty.c
+++ b/src/common/vty.c
@@ -856,7 +856,8 @@ static void bts_dump_vty(struct vty *vty, struct gsm_bts *bts)
bts->description ? bts->description : "(null)", VTY_NEWLINE);
vty_out(vty, " Unit ID: %u/%u/0, OML Stream ID 0x%02x%s",
bts->ip_access.site_id, bts->ip_access.bts_id,
- bts->oml_tei, VTY_NEWLINE);
+ bts->oml_link ? bts->oml_link->tei : 0x00,
+ VTY_NEWLINE);
vty_out(vty, " NM State: ");
net_dump_nmstate(vty, &bts->mo.nm_state);
vty_out(vty, " Site Mgr NM State: ");