keith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-pcu/+/35003?usp=email )
Change subject: TBF status: Fix VTY output text ......................................................................
TBF status: Fix VTY output text
The vty command 'show bts pdch' had the UL and DL TBF count reversed. This patch corrects that.
Change-Id: Ic906ca9d02811cb96e4530af43fbc3769f6afce7 --- M src/pcu_vty_functions.cpp 1 file changed, 13 insertions(+), 1 deletion(-)
Approvals: Jenkins Builder: Verified fixeria: Looks good to me, approved
diff --git a/src/pcu_vty_functions.cpp b/src/pcu_vty_functions.cpp index 8dd147c..09a1d77 100644 --- a/src/pcu_vty_functions.cpp +++ b/src/pcu_vty_functions.cpp @@ -289,7 +289,7 @@ for (ts_nr = 0; ts_nr < ARRAY_SIZE(trx->pdch); ts_nr++) { const struct gprs_rlcmac_pdch *pdch = &trx->pdch[ts_nr];
- vty_out(vty, " TS%u: PDCH %s, %u UL TBFs, %u DL TBFs%s", pdch->ts_no, + vty_out(vty, " TS%u: PDCH %s, %u DL TBFs, %u UL TBFs%s", pdch->ts_no, pdch->is_enabled() ? "enabled" : "disabled", pdch->num_tbfs(GPRS_RLCMAC_DL_TBF), pdch->num_tbfs(GPRS_RLCMAC_UL_TBF), VTY_NEWLINE);