Change in osmo-gbproxy[master]: vty: Print CellId along with RA-ID

laforge gerrit-no-reply at lists.osmocom.org
Mon Apr 12 08:18:02 UTC 2021


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-gbproxy/+/23667 )

Change subject: vty: Print CellId along with RA-ID
......................................................................

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
---
M src/gb_proxy_vty.c
1 file changed, 3 insertions(+), 2 deletions(-)

Approvals:
  lynxis lazus: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/gb_proxy_vty.c b/src/gb_proxy_vty.c
index f48a6db..9ac45e7 100644
--- a/src/gb_proxy_vty.c
+++ b/src/gb_proxy_vty.c
@@ -82,8 +82,9 @@
 		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);
 	}
 }
 

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-gbproxy/+/23667
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-gbproxy
Gerrit-Branch: master
Gerrit-Change-Id: Ic8b26afe98e6fe11b130679201493f6bcbade0f4
Gerrit-Change-Number: 23667
Gerrit-PatchSet: 2
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <dwillmann at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: lynxis lazus <lynxis at fe80.eu>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210412/21a9b898/attachment.htm>


More information about the gerrit-log mailing list