Hello Neels Hofmeyr, Jenkins Builder,

I'd like you to reexamine a change.  Please visit

    https://gerrit.osmocom.org/4358

to look at the new patch set (#2).

vty: Print string for Administrative state

Change-Id: Ie41479958d6a57708e4b50705fd85c65f02e4527
---
M src/common/vty.c
1 file changed, 3 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/58/4358/2

diff --git a/src/common/vty.c b/src/common/vty.c
index 77bb47d..1a158db 100644
--- a/src/common/vty.c
+++ b/src/common/vty.c
@@ -711,8 +711,9 @@
 
 static void net_dump_nmstate(struct vty *vty, struct gsm_nm_state *nms)
 {
-       vty_out(vty,"Oper '%s', Admin %u, Avail '%s'%s",
-               abis_nm_opstate_name(nms->operational), nms->administrative,
+       vty_out(vty,"Oper '%s', Admin '%s', Avail '%s'%s",
+               abis_nm_opstate_name(nms->operational),
+               get_value_string(abis_nm_adm_state_names, nms->administrative),
                abis_nm_avail_name(nms->availability), VTY_NEWLINE);
 }
 

-- 
To view, visit https://gerrit.osmocom.org/4358
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ie41479958d6a57708e4b50705fd85c65f02e4527
Gerrit-PatchSet: 2
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Neels Hofmeyr <[email protected]>

Reply via email to