gprs_ns_vty: Unify display of NSVCI on VTY in 'show ns entities'

Change-Id: I2915b47a5fc4ed9ac16f611c9e9f71dc0955426a
This commit is contained in:
Harald Welte 2020-12-01 17:56:05 +01:00
parent 7aa609929c
commit 96ec84a035
2 changed files with 2 additions and 2 deletions

View File

@ -117,7 +117,7 @@ static void dump_vty(const struct gprs_ns2_vc_bind *bind, struct vty *vty, bool
osmo_fr_role_str(fr_link->role), VTY_NEWLINE);
llist_for_each_entry(nsvc, &bind->nsvc, blist) {
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);
}
priv = bind->priv;

View File

@ -101,7 +101,7 @@ static void dump_vty(const struct gprs_ns2_vc_bind *bind,
vty_out(vty, " %lu NS-VC: %s", nsvcs, VTY_NEWLINE);
llist_for_each_entry(nsvc, &bind->nsvc, blist) {
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);
}
}