diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-06-14 17:20:56 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-06-14 17:20:56 +0800 |
commit | c67cd2e11a15a974b633b1c083395fc7930417c7 (patch) | |
tree | 05ace67f0132f8f24cd2f8cf57b249eddf300b35 | |
parent | 2afb9157581c005a583ea33afc5d739d5b3380c2 (diff) |
vty: Dump the state of the SAPIs of a lchan as well.
-rw-r--r-- | openbsc/src/vty_interface.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openbsc/src/vty_interface.c b/openbsc/src/vty_interface.c index 63898de0b..314277068 100644 --- a/openbsc/src/vty_interface.c +++ b/openbsc/src/vty_interface.c @@ -782,12 +782,13 @@ static void lchan_dump_short_vty(struct vty *vty, struct gsm_lchan *lchan) static void lchan_dump_status_vty(struct vty *vty, struct gsm_lchan *lchan) { vty_out(vty, "Lchan: %u/%u/%u/%u Type: %s State: %s ref: %u HO: %d Subscriber: %d " - "Time: %lu %s", + "Time: %lu SAPI: %d/%d%s", lchan->nr, lchan->ts->nr, lchan->ts->trx->nr, lchan->ts->trx->bts->nr, gsm_lchant_name(lchan->type), gsm_lchans_name(lchan->state), lchan->conn.use_count, lchan->conn.hand_off, lchan->conn.subscr != NULL, (unsigned long) lchan->alloc_time.tv_sec, + lchan->sapis[0], lchan->sapis[3], VTY_NEWLINE); } |