From deb2645bb0fec4bddd1c200b064d7fc9bff33a35 Mon Sep 17 00:00:00 2001 From: Keith Date: Sat, 11 Nov 2023 19:31:18 -0600 Subject: 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 (cherry picked from commit c25f4fb9c99357ea40bff907e1de7ddea77e0784) --- src/pcu_vty_functions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pcu_vty_functions.cpp b/src/pcu_vty_functions.cpp index 8dd147ce..09a1d774 100644 --- a/src/pcu_vty_functions.cpp +++ b/src/pcu_vty_functions.cpp @@ -289,7 +289,7 @@ int pcu_vty_show_bts_pdch(struct vty *vty, const struct gprs_rlcmac_bts *bts) 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); -- cgit v1.2.3