keith submitted this change.

View Change


Approvals: Jenkins Builder: Verified fixeria: Looks good to me, approved
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(-)

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);

To view, visit change 35003. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: Ic906ca9d02811cb96e4530af43fbc3769f6afce7
Gerrit-Change-Number: 35003
Gerrit-PatchSet: 3
Gerrit-Owner: keith <keith@rhizomatica.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de>
Gerrit-Reviewer: keith <keith@rhizomatica.org>
Gerrit-MessageType: merged