aboutsummaryrefslogtreecommitdiffstats
path: root/src/gb/gprs_ns2_vty.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2020-12-01 17:53:17 +0100
committerHarald Welte <laforge@osmocom.org>2020-12-01 18:01:43 +0100
commit7aa609929c1a8236724198ce4bff340eae71e177 (patch)
tree473d16a44a37a7ef59488b710f24b31b78b2a51f /src/gb/gprs_ns2_vty.c
parent2fce19a2430a91bd1daf5d4ae185d574bca1e440 (diff)
gprs_ns2_vty: Show NSVCI in dump_nsvc()
also, indent the statistics one more character Change-Id: I2726d6f1c5f83255925d6a1b22f1ee71b8d6fdc5
Diffstat (limited to 'src/gb/gprs_ns2_vty.c')
-rw-r--r--src/gb/gprs_ns2_vty.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gb/gprs_ns2_vty.c b/src/gb/gprs_ns2_vty.c
index 85147043..17b8d963 100644
--- a/src/gb/gprs_ns2_vty.c
+++ b/src/gb/gprs_ns2_vty.c
@@ -260,11 +260,11 @@ DEFUN(cfg_ns, cfg_ns_cmd,
static void dump_nsvc(struct vty *vty, struct gprs_ns2_vc *nsvc, bool stats)
{
- vty_out(vty, " %s%s", gprs_ns2_ll_str(nsvc), VTY_NEWLINE);
+ vty_out(vty, " NSVCI %05u %s%s", nsvc->nsvci, gprs_ns2_ll_str(nsvc), VTY_NEWLINE);
if (stats) {
- vty_out_rate_ctr_group(vty, " ", nsvc->ctrg);
- vty_out_stat_item_group(vty, " ", nsvc->statg);
+ vty_out_rate_ctr_group(vty, " ", nsvc->ctrg);
+ vty_out_stat_item_group(vty, " ", nsvc->statg);
}
}