aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2015-04-29 15:00:29 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-04-29 15:47:25 +0200
commit1bda44213ed90ffd00f9791d8eeea8179fe02594 (patch)
treeb9df8c732f34bdf4e7ba00a8465a8c776b794a03 /src
parentad69f89b529e0cdc235406802448c37fcb61efda (diff)
bssgp: Fix output of the VTY 'show bssgp stats' command
The output is terminated by a '\n' instead of VTY_NEWLINE. This is fixed by the commit. Sponsored-by: On-Waves ehf
Diffstat (limited to 'src')
-rw-r--r--src/gb/gprs_bssgp_vty.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gb/gprs_bssgp_vty.c b/src/gb/gprs_bssgp_vty.c
index 88ae49f..080867b 100644
--- a/src/gb/gprs_bssgp_vty.c
+++ b/src/gb/gprs_bssgp_vty.c
@@ -97,9 +97,10 @@ static void dump_bvc(struct vty *vty, struct bssgp_bvc_ctx *bvc, int stats)
if (fc)
vty_out(vty, "FC-BVC(bucket_max: %uoct, leak_rate: "
"%uoct/s, cur_tokens: %uoct, max_q_d: %u, "
- "cur_q_d: %u)\n", fc->bucket_size_max,
+ "cur_q_d: %u)%s", fc->bucket_size_max,
fc->bucket_leak_rate, fc->bucket_counter,
- fc->max_queue_depth, fc->queue_depth);
+ fc->max_queue_depth, fc->queue_depth,
+ VTY_NEWLINE);
}
}