diff options
author | Alexander Couzens <lynxis@fe80.eu> | 2017-11-21 17:33:49 +0100 |
---|---|---|
committer | Alexander Couzens <lynxis@fe80.eu> | 2017-11-21 17:33:52 +0100 |
commit | 5900c84bd3e121177032e0f3f95098038de0eaf2 (patch) | |
tree | 66afdf7c4ca10ed690d99ce8d5eddf5286d7122d | |
parent | 2c46e04ccc04e010ba891fe06f4e1acb52beb5d6 (diff) |
libmsc/vty: don't access old bsc rate counters
The BSC rate counters are a leftover from the nitb split.
Accessing them would result into a null-pointer exception,
because the struct isn't initialized.
Change-Id: I8c72ab8bf781d3f9a436eb1a27ac4d13df5e656b
-rw-r--r-- | src/libmsc/vty_interface_layer3.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/libmsc/vty_interface_layer3.c b/src/libmsc/vty_interface_layer3.c index 6211d487f..02a3600c1 100644 --- a/src/libmsc/vty_interface_layer3.c +++ b/src/libmsc/vty_interface_layer3.c @@ -659,14 +659,6 @@ DEFUN(show_stats, net->msc_ctrs->ctr[MSC_CTR_LOC_UPDATE_COMPLETED].current, net->msc_ctrs->ctr[MSC_CTR_LOC_UPDATE_FAILED].current, VTY_NEWLINE); - vty_out(vty, "Handover : %lu attempted, %lu no_channel, %lu timeout, " - "%lu completed, %lu failed%s", - 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, net->msc_ctrs->ctr[MSC_CTR_SMS_NO_RECEIVER].current, |