aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/libbsc/bsc_vty.c
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2016-08-02 11:34:11 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-08-29 18:56:20 +0200
commitb847a21fa48158b17c4f84c1ceeb3d143cffed8c (patch)
tree34de38022353c860a4546bd7d56129412f8e9910 /openbsc/src/libbsc/bsc_vty.c
parentd75864f6f52b6c0730731f485b21599943ef957b (diff)
libmsc/bsc: split rate counters into bsc and msc group
Tweaked-By: Neels Hofmeyr <nhofmeyr@sysmocom.de> Change-Id: I7361033cd1eb919ec3c2ea2652f40ab8c75b2f99
Diffstat (limited to 'openbsc/src/libbsc/bsc_vty.c')
-rw-r--r--openbsc/src/libbsc/bsc_vty.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/openbsc/src/libbsc/bsc_vty.c b/openbsc/src/libbsc/bsc_vty.c
index fbaf06bfb..8116af1ab 100644
--- a/openbsc/src/libbsc/bsc_vty.c
+++ b/openbsc/src/libbsc/bsc_vty.c
@@ -3784,21 +3784,21 @@ DEFUN(cfg_ts_e1_subslot,
void openbsc_vty_print_statistics(struct vty *vty, struct gsm_network *net)
{
vty_out(vty, "Channel Requests : %lu total, %lu no channel%s",
- net->ratectrs->ctr[MSC_CTR_CHREQ_TOTAL].current,
- net->ratectrs->ctr[MSC_CTR_CHREQ_NO_CHANNEL].current,
+ net->bsc_ctrs->ctr[BSC_CTR_CHREQ_TOTAL].current,
+ net->bsc_ctrs->ctr[BSC_CTR_CHREQ_NO_CHANNEL].current,
VTY_NEWLINE);
vty_out(vty, "Channel Failures : %lu rf_failures, %lu rll failures%s",
- net->ratectrs->ctr[MSC_CTR_CHAN_RF_FAIL].current,
- net->ratectrs->ctr[MSC_CTR_CHAN_RLL_ERR].current,
+ net->bsc_ctrs->ctr[BSC_CTR_CHAN_RF_FAIL].current,
+ net->bsc_ctrs->ctr[BSC_CTR_CHAN_RLL_ERR].current,
VTY_NEWLINE);
vty_out(vty, "Paging : %lu attempted, %lu complete, %lu expired%s",
- net->ratectrs->ctr[MSC_CTR_PAGING_ATTEMPTED].current,
- net->ratectrs->ctr[MSC_CTR_PAGING_COMPLETED].current,
- net->ratectrs->ctr[MSC_CTR_PAGING_EXPIRED].current,
+ net->bsc_ctrs->ctr[BSC_CTR_PAGING_ATTEMPTED].current,
+ net->bsc_ctrs->ctr[BSC_CTR_PAGING_COMPLETED].current,
+ net->bsc_ctrs->ctr[BSC_CTR_PAGING_EXPIRED].current,
VTY_NEWLINE);
vty_out(vty, "BTS failures : %lu OML, %lu RSL%s",
- net->ratectrs->ctr[MSC_CTR_BTS_OML_FAIL].current,
- net->ratectrs->ctr[MSC_CTR_BTS_RSL_FAIL].current,
+ net->bsc_ctrs->ctr[BSC_CTR_BTS_OML_FAIL].current,
+ net->bsc_ctrs->ctr[BSC_CTR_BTS_RSL_FAIL].current,
VTY_NEWLINE);
}