aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2019-11-02 00:42:13 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2019-11-02 00:42:13 +0700
commit9378522a0c5dab3f685dd2225527edb07dc9d9d9 (patch)
tree8711c2bdff756583239d051dd0e248fcbbf3adce /src
parent00201b64f04695c76af298695c8a32ace5e4fb6b (diff)
VTY: also print the active phan config in ts_dump_vty()
Diffstat (limited to 'src')
-rw-r--r--src/osmo-bsc/bsc_vty.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/osmo-bsc/bsc_vty.c b/src/osmo-bsc/bsc_vty.c
index a388c9aba..0fbff8691 100644
--- a/src/osmo-bsc/bsc_vty.c
+++ b/src/osmo-bsc/bsc_vty.c
@@ -1219,9 +1219,10 @@ static void vty_out_dyn_ts_details(struct vty *vty, struct gsm_bts_trx_ts *ts)
static void ts_dump_vty(struct vty *vty, struct gsm_bts_trx_ts *ts)
{
- vty_out(vty, "BTS %u, TRX %u, Timeslot %u, phys cfg %s",
+ vty_out(vty, "BTS %u, TRX %u, Timeslot %u, phys cfg %s (active %s)",
ts->trx->bts->nr, ts->trx->nr, ts->nr,
- gsm_pchan_name(ts->pchan_on_init));
+ gsm_pchan_name(ts->pchan_on_init),
+ gsm_pchan_name(ts->pchan_is));
if (ts->pchan_is != ts->pchan_on_init)
vty_out(vty, " (%s mode)", gsm_pchan_name(ts->pchan_is));
vty_out(vty, ", TSC %u%s NM State: ", gsm_ts_tsc(ts), VTY_NEWLINE);