vty: Print CellId along with RA-ID

The CellIdentifier IE of a BVC-RESET contains RA-ID and CID.  We only
printed the forer, but not the latter. Let's fix that.

Change-Id: Ic8b26afe98e6fe11b130679201493f6bcbade0f4
This commit is contained in:
Harald Welte 2021-04-07 14:05:16 +02:00 committed by laforge
parent 6701d27313
commit 838ebb35d1
1 changed files with 3 additions and 2 deletions

View File

@ -82,8 +82,9 @@ static void gbprox_vty_print_bvc(struct vty *vty, struct gbproxy_bvc *bvc)
vty_out(vty, "NSEI %5u, SIG-BVCI %5u [%s]%s", bvc->nse->nsei, bvc->bvci,
osmo_fsm_inst_state_name(bvc->fi), VTY_NEWLINE);
} else {
vty_out(vty, "NSEI %5u, PTP-BVCI %5u, RAI %s [%s]%s", bvc->nse->nsei, bvc->bvci,
osmo_rai_name(&bvc->cell->id.raid), osmo_fsm_inst_state_name(bvc->fi), VTY_NEWLINE);
vty_out(vty, "NSEI %5u, PTP-BVCI %5u, RAI %s, CellID %u [%s]%s", bvc->nse->nsei,
bvc->bvci, osmo_rai_name(&bvc->cell->id.raid), bvc->cell->id.cid,
osmo_fsm_inst_state_name(bvc->fi), VTY_NEWLINE);