gprs_ns2_vty: Show NSVCI in dump_nsvc()
also, indent the statistics one more character
Change-Id: I2726d6f1c5f83255925d6a1b22f1ee71b8d6fdc5
diff --git a/src/gb/gprs_ns2_vty.c b/src/gb/gprs_ns2_vty.c
index 8514704..17b8d96 100644
--- a/src/gb/gprs_ns2_vty.c
+++ b/src/gb/gprs_ns2_vty.c
@@ -260,11 +260,11 @@
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);
}
}