aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/bsc_vty.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-12-24 12:12:10 +0100
committerHarald Welte <laforge@gnumonks.org>2010-12-24 12:12:10 +0100
commit026b4cab3652e852d64d0043c540eeacf684652a (patch)
treebbc6847365e277f6134d939cbe7eb72956daf82c /openbsc/src/bsc_vty.c
parent127af34eeaf4eace50c9bb595666010ed5877c1f (diff)
BSC VTY: Change order of elements in 'show timeslot' command
It's not logical to first show TS, then TRX, then BTS. It should always be ordered from big to small (BTS, TRX, TS)
Diffstat (limited to 'openbsc/src/bsc_vty.c')
-rw-r--r--openbsc/src/bsc_vty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/bsc_vty.c b/openbsc/src/bsc_vty.c
index 19e75c4c9..40e734212 100644
--- a/openbsc/src/bsc_vty.c
+++ b/openbsc/src/bsc_vty.c
@@ -633,8 +633,8 @@ DEFUN(show_trx,
static void ts_dump_vty(struct vty *vty, struct gsm_bts_trx_ts *ts)
{
- vty_out(vty, "Timeslot %u of TRX %u in BTS %u, phys cfg %s%s",
- ts->nr, ts->trx->nr, ts->trx->bts->nr,
+ vty_out(vty, "BTS %u, TRX %u, Timeslot %u, phys cfg %s%s",
+ ts->trx->bts->nr, ts->trx->nr, ts->nr,
gsm_pchan_name(ts->pchan), VTY_NEWLINE);
vty_out(vty, " NM State: ");
net_dump_nmstate(vty, &ts->nm_state);