summaryrefslogtreecommitdiffstats
path: root/openbsc/src/libmsc
diff options
context:
space:
mode:
authorAlexander Chemeris <Alexander.Chemeris@gmail.com>2017-07-08 18:00:36 +0900
committerHarald Welte <laforge@gnumonks.org>2017-07-10 17:20:01 +0000
commit94431bf7c32506aa99efd29e3617022270ff458d (patch)
tree4106c9784383c6f2daf1f314eeb5279cac652768 /openbsc/src/libmsc
parent8f7ab69d4ca2cbfa9a669c7cdee62272824be4a3 (diff)
libmsc: Fix VTY output for handover counters.
Handover countrs belong to BSC, but we mistakenly take values from MSC counters. Change-Id: I9512330f2e91d2f526751c5228e6e8e0fe17d579
Diffstat (limited to 'openbsc/src/libmsc')
-rw-r--r--openbsc/src/libmsc/vty_interface_layer3.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/openbsc/src/libmsc/vty_interface_layer3.c b/openbsc/src/libmsc/vty_interface_layer3.c
index e50329104..042da9c5a 100644
--- a/openbsc/src/libmsc/vty_interface_layer3.c
+++ b/openbsc/src/libmsc/vty_interface_layer3.c
@@ -833,11 +833,11 @@ DEFUN(show_stats,
VTY_NEWLINE);
vty_out(vty, "Handover : %lu attempted, %lu no_channel, %lu timeout, "
"%lu completed, %lu failed%s",
- net->msc_ctrs->ctr[BSC_CTR_HANDOVER_ATTEMPTED].current,
- net->msc_ctrs->ctr[BSC_CTR_HANDOVER_NO_CHANNEL].current,
- net->msc_ctrs->ctr[BSC_CTR_HANDOVER_TIMEOUT].current,
- net->msc_ctrs->ctr[BSC_CTR_HANDOVER_COMPLETED].current,
- net->msc_ctrs->ctr[BSC_CTR_HANDOVER_FAILED].current,
+ net->bsc_ctrs->ctr[BSC_CTR_HANDOVER_ATTEMPTED].current,
+ net->bsc_ctrs->ctr[BSC_CTR_HANDOVER_NO_CHANNEL].current,
+ net->bsc_ctrs->ctr[BSC_CTR_HANDOVER_TIMEOUT].current,
+ net->bsc_ctrs->ctr[BSC_CTR_HANDOVER_COMPLETED].current,
+ net->bsc_ctrs->ctr[BSC_CTR_HANDOVER_FAILED].current,
VTY_NEWLINE);
vty_out(vty, "SMS MO : %lu submitted, %lu no receiver%s",
net->msc_ctrs->ctr[MSC_CTR_SMS_SUBMITTED].current,