[PATCH] osmo-bts[master]: vty: Use new API abis_nm_admin_name

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/.

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Thu Oct 19 15:30:50 UTC 2017


Review at  https://gerrit.osmocom.org/4358

vty: Use new API abis_nm_admin_name

Requires libosmocore Ieace734aaff3f07606113feddde65b75202d96d6

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/1

diff --git a/src/common/vty.c b/src/common/vty.c
index 77bb47d..fb5015c 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),
+		abis_nm_admin_name(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: newchange
Gerrit-Change-Id: Ie41479958d6a57708e4b50705fd85c65f02e4527
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>



More information about the gerrit-log mailing list