mirror of https://gerrit.osmocom.org/libosmocore
[GPRS] BSSG: Fix Vty printing of BVC
This commit is contained in:
parent
61c07842f2
commit
bf03d90d98
|
@ -73,7 +73,7 @@ DEFUN(cfg_bssgp, cfg_bssgp_cmd,
|
||||||
static void dump_bvc(struct vty *vty, struct bssgp_bvc_ctx *bvc, int stats)
|
static void dump_bvc(struct vty *vty, struct bssgp_bvc_ctx *bvc, int stats)
|
||||||
{
|
{
|
||||||
vty_out(vty, "NSEI %5u, BVCI %5u, RA-ID: %u-%u-%u-%u, CID: %u, "
|
vty_out(vty, "NSEI %5u, BVCI %5u, RA-ID: %u-%u-%u-%u, CID: %u, "
|
||||||
"STATE: %s%s", bvc->bvci, bvc->nsei, bvc->bvci, bvc->ra_id.mcc,
|
"STATE: %s%s", bvc->nsei, bvc->bvci, bvc->ra_id.mcc,
|
||||||
bvc->ra_id.mnc, bvc->ra_id.lac, bvc->ra_id.rac, bvc->cell_id,
|
bvc->ra_id.mnc, bvc->ra_id.lac, bvc->ra_id.rac, bvc->cell_id,
|
||||||
bvc->state & BVC_S_BLOCKED ? "BLOCKED" : "UNBLOCKED",
|
bvc->state & BVC_S_BLOCKED ? "BLOCKED" : "UNBLOCKED",
|
||||||
VTY_NEWLINE);
|
VTY_NEWLINE);
|
||||||
|
|
Loading…
Reference in New Issue