From c67cd2e11a15a974b633b1c083395fc7930417c7 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 14 Jun 2010 17:20:56 +0800 Subject: vty: Dump the state of the SAPIs of a lchan as well. --- openbsc/src/vty_interface.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); } -- cgit v1.2.3