aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2021-04-27 18:29:35 +0200
committerVadim Yanitskiy <vyanitskiy@sysmocom.de>2021-04-30 21:07:02 +0200
commitd2eafadc25214f71c05224d1ec4198923c60424d (patch)
tree8c93c8fdae363bff6ce51fea150cef6f52b597e8
parentf3e3a3ac996d40293f933d43ebb0b1a4cd246e9c (diff)
vty: fix the use of deprecated osmo_bts_feature_name()
-rw-r--r--TODO-RELEASE3
-rw-r--r--src/common/vty.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/TODO-RELEASE b/TODO-RELEASE
index 1546ec7d..82f25d61 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 626cd60a..9e428e7d 100644
--- a/src/common/vty.c
+++ b/src/common/vty.c
@@ -1015,7 +1015,7 @@ static void bts_dump_vty_features(struct vty *vty, const struct gsm_bts *bts)
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;
}
}