aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcu_vty_functions.cpp
diff options
context:
space:
mode:
authorMrinal Mishra <mrinal.mishra@radisys.com>2016-10-26 15:41:56 +0530
committerMrinal Mishra <mrinal.mishra@radisys.com>2016-10-26 15:41:56 +0530
commitd453eaa788e10b04772de1b1efd857c1e7275753 (patch)
tree4e08701fe62d6875290fc76361345f11c5d50c58 /src/pcu_vty_functions.cpp
parentf868bdbe76c71abc602f0e8e3fc6ea48fe5c3e7f (diff)
Add logging support
This commit adds the TRX_ID in the output of VTY command "show tbf all". Change-Id: Ia5412dddb899e20963f884e02bdf796b6ea7ee6c
Diffstat (limited to 'src/pcu_vty_functions.cpp')
-rw-r--r--src/pcu_vty_functions.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pcu_vty_functions.cpp b/src/pcu_vty_functions.cpp
index 8009535..ca7f7ad 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());