This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Harald Welte gerrit-no-reply at lists.osmocom.orgHarald Welte has submitted this change and it was merged.
Change subject: vty: Print string for Administrative state
......................................................................
vty: Print string for Administrative state
Change-Id: Ie41479958d6a57708e4b50705fd85c65f02e4527
---
M src/common/vty.c
1 file changed, 3 insertions(+), 2 deletions(-)
Approvals:
Harald Welte: Looks good to me, approved
Jenkins Builder: Verified
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: merged
Gerrit-Change-Id: Ie41479958d6a57708e4b50705fd85c65f02e4527
Gerrit-PatchSet: 2
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>