diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/common/vty.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/common/vty.c b/src/common/vty.c index ada871a0..7284bfaf 100644 --- a/src/common/vty.c +++ b/src/common/vty.c @@ -1449,7 +1449,15 @@ static int dump_lchan_trx_ts(const struct gsm_bts_trx_ts *ts, struct vty *vty, const struct gsm_lchan *lchan = &ts->lchan[lchan_nr]; if (lchan->state == LCHAN_S_NONE) continue; - dump_cb(vty, lchan); + switch (lchan->type) { + case GSM_LCHAN_SDCCH: + case GSM_LCHAN_TCH_F: + case GSM_LCHAN_TCH_H: + dump_cb(vty, lchan); + break; + default: + continue; + } } return CMD_SUCCESS; |