Change in osmo-bsc[master]: LCLS: make config and control redable in 'sh conns'

Max gerrit-no-reply at lists.osmocom.org
Fri Nov 16 19:38:15 UTC 2018


Max has uploaded this change for review. ( https://gerrit.osmocom.org/11815


Change subject: LCLS: make config and control redable in 'sh conns'
......................................................................

LCLS: make config and control redable in 'sh conns'

Display LCLS config and control state as text in "show conns" command.

Change-Id: Ibc2525d453e3aa845fe6f3a98f908c2b6b49f1f0
Related: OS#3659
---
M src/osmo-bsc/bsc_vty.c
1 file changed, 4 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/15/11815/1

diff --git a/src/osmo-bsc/bsc_vty.c b/src/osmo-bsc/bsc_vty.c
index 9115c01..82a0784 100644
--- a/src/osmo-bsc/bsc_vty.c
+++ b/src/osmo-bsc/bsc_vty.c
@@ -1532,8 +1532,10 @@
 		vty_out(vty, " LCLS GCR: %s%s",
 			osmo_hexdump_nospc(conn->lcls.global_call_ref, conn->lcls.global_call_ref_len),
 			VTY_NEWLINE);
-		vty_out(vty, " LCLS Config: 0x%02x, LCLS Control: 0x%02x, LCLS BSS Status: %s%s",
-			conn->lcls.config, conn->lcls.control, osmo_fsm_inst_state_name(conn->lcls.fi),
+		vty_out(vty, " LCLS Config: %s, LCLS Control: %s, LCLS BSS Status: %s%s",
+			gsm0808_lcls_config_name(conn->lcls.config),
+			gsm0808_lcls_control_name(conn->lcls.control),
+			osmo_fsm_inst_state_name(conn->lcls.fi),
 			VTY_NEWLINE);
 	}
 	if (conn->lchan)

-- 
To view, visit https://gerrit.osmocom.org/11815
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibc2525d453e3aa845fe6f3a98f908c2b6b49f1f0
Gerrit-Change-Number: 11815
Gerrit-PatchSet: 1
Gerrit-Owner: Max <msuraev at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181116/bad33d22/attachment.html>


More information about the gerrit-log mailing list