From 7aa609929c1a8236724198ce4bff340eae71e177 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Tue, 1 Dec 2020 17:53:17 +0100 Subject: gprs_ns2_vty: Show NSVCI in dump_nsvc() also, indent the statistics one more character Change-Id: I2726d6f1c5f83255925d6a1b22f1ee71b8d6fdc5 --- src/gb/gprs_ns2_vty.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gb/gprs_ns2_vty.c') 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); } } -- cgit v1.2.3