libmsc: Fix VTY output for handover counters.

Handover countrs belong to BSC, but we mistakenly take values from MSC counters.

Change-Id: I9512330f2e91d2f526751c5228e6e8e0fe17d579
This commit is contained in:
Alexander Chemeris 2017-07-08 18:00:36 +09:00 committed by Neels Hofmeyr
parent 9d6f0625f7
commit a7388d7d0f
1 changed files with 5 additions and 5 deletions

View File

@ -570,11 +570,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,