Change in osmo-bts[master]: vty: fix the use of deprecated osmo_bts_feature_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/.

fixeria gerrit-no-reply at lists.osmocom.org
Wed May 5 18:13:05 UTC 2021


fixeria has submitted this change. ( https://gerrit.osmocom.org/c/osmo-bts/+/23916 )

Change subject: vty: fix the use of deprecated osmo_bts_feature_name()
......................................................................

vty: fix the use of deprecated osmo_bts_feature_name()

Change-Id: I67863da286b0fd1ec42088bce12d3c76e4be30ba
Depends: I9dfdb5e81037b6000effbd340af4e5db0dcfd69c
---
M TODO-RELEASE
M src/common/vty.c
2 files changed, 4 insertions(+), 1 deletion(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved



diff --git a/TODO-RELEASE b/TODO-RELEASE
index 1546ec7..82f25d6 100644
--- a/TODO-RELEASE
+++ b/TODO-RELEASE
@@ -1,2 +1,5 @@
+# When cleaning up this file: bump API version(s) in the following files:
+# configure.ac, debian/control, and contrib/osmo-bts.spec.in.
 update libosmo-abis dependency to > 1.1.1 for osmo_rtp_socket_set_priority()
 update libosmo-abis dependency to > 1.1.1 for new e1_input vty commands for DSCP + priority
+update libosmocore dependency to > 1.5.1-73-g524b4f80 for osmo_bts_features_desc()
diff --git a/src/common/vty.c b/src/common/vty.c
index 626cd60..9e428e7 100644
--- a/src/common/vty.c
+++ b/src/common/vty.c
@@ -1015,7 +1015,7 @@
 	for (i = 0, no_features = true; i < _NUM_BTS_FEAT; i++) {
 		if (osmo_bts_has_feature(bts->features, i)) {
 			vty_out(vty, "    %03u ", i);
-			vty_out(vty, "%-40s%s", osmo_bts_feature_name(i), VTY_NEWLINE);
+			vty_out(vty, "%-40s%s", osmo_bts_features_desc(i), VTY_NEWLINE);
 			no_features = false;
 		}
 	}

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/23916
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I67863da286b0fd1ec42088bce12d3c76e4be30ba
Gerrit-Change-Number: 23916
Gerrit-PatchSet: 3
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210505/6c0ec0dc/attachment.htm>


More information about the gerrit-log mailing list