mirror of https://gerrit.osmocom.org/libosmocore
gprs_ns_vty: Unify display of NSVCI on VTY in 'show ns entities'
Change-Id: I2915b47a5fc4ed9ac16f611c9e9f71dc0955426a
This commit is contained in:
parent
7aa609929c
commit
96ec84a035
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue