From d453eaa788e10b04772de1b1efd857c1e7275753 Mon Sep 17 00:00:00 2001 From: Mrinal Mishra Date: Wed, 26 Oct 2016 15:41:56 +0530 Subject: Add logging support This commit adds the TRX_ID in the output of VTY command "show tbf all". Change-Id: Ia5412dddb899e20963f884e02bdf796b6ea7ee6c --- src/pcu_vty_functions.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pcu_vty_functions.cpp b/src/pcu_vty_functions.cpp index 8009535c..ca7f7ad7 100644 --- a/src/pcu_vty_functions.cpp +++ b/src/pcu_vty_functions.cpp @@ -61,6 +61,8 @@ static void tbf_print_vty_info(struct vty *vty, gprs_rlcmac_tbf *tbf) if (tbf->pdch[i]) vty_out(vty, "%d%s ", i, is_ctrl ? "!" : ""); } + if (tbf->trx != NULL) + vty_out(vty, " TRX_ID=%d", tbf->trx->trx_no); vty_out(vty, " CS=%s WS=%d", tbf->current_cs().name(), tbf->window()->ws()); -- cgit v1.2.3