Harald Welte has submitted this change and it was merged. ( 
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(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/osmo-bsc/bsc_vty.c b/src/osmo-bsc/bsc_vty.c
index f4f5838..3ac592c 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: merged
Gerrit-Change-Id: Ibc2525d453e3aa845fe6f3a98f908c2b6b49f1f0
Gerrit-Change-Number: 11815
Gerrit-PatchSet: 2
Gerrit-Owner: Max <[email protected]>
Gerrit-Reviewer: Harald Welte <[email protected]>
Gerrit-Reviewer: Jenkins Builder (1000002)

Reply via email to