aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2016-01-28 16:14:58 +0100
committerJacob Erlbeck <jerlbeck@sysmocom.de>2016-02-02 17:06:38 +0100
commitd44f9d8d04c5f62f2b7c6c7e651edee8ddc30425 (patch)
tree71d65ad42dad93c5e2942b15d6f469e0b69c9161
parent46d9778e9c31d59efa337cf14359365f6f8ca4f0 (diff)
WIP Mark control slots in VTY TBF out
Ticket: OW#???? Sponsored-by: On-Waves ehf
-rw-r--r--src/pcu_vty_functions.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pcu_vty_functions.cpp b/src/pcu_vty_functions.cpp
index a8b5ddd..6567962 100644
--- a/src/pcu_vty_functions.cpp
+++ b/src/pcu_vty_functions.cpp
@@ -56,8 +56,9 @@ static void tbf_print_vty_info(struct vty *vty, gprs_rlcmac_tbf *tbf)
VTY_NEWLINE);
vty_out(vty, " TS_alloc=");
for (int i = 0; i < 8; i++) {
+ bool is_ctrl = tbf->is_control_ts(i);
if (tbf->pdch[i])
- vty_out(vty, "%d ", i);
+ vty_out(vty, "%d%s ", i, is_ctrl ? "!" : "");
}
vty_out(vty, " CS=%s WS=%d",
tbf->current_cs().name(), tbf->window()->ws());