Add logging support
This commit adds the TRX_ID in the output of VTY command "show tbf all".
Change-Id: Ia5412dddb899e20963f884e02bdf796b6ea7ee6c
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 @@
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());