aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/libbsc/abis_nm.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-05-23 20:42:26 +0200
committerHarald Welte <laforge@gnumonks.org>2011-05-23 20:42:26 +0200
commitcdc59ff5ccd55459068391da5e7b533fa9324842 (patch)
tree049e55218660ab75a6e232476cbc58b950a8b715 /openbsc/src/libbsc/abis_nm.c
parent867d9f39852f33afdfa6ca7def56c856239e31cb (diff)
abis_nm: Some more fall-out from the abis_nm move to libosmocore
we want get_string_value(), not the equivalent of get_value_string()
Diffstat (limited to 'openbsc/src/libbsc/abis_nm.c')
-rw-r--r--openbsc/src/libbsc/abis_nm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbsc/src/libbsc/abis_nm.c b/openbsc/src/libbsc/abis_nm.c
index c47695e89..5bcc985b2 100644
--- a/openbsc/src/libbsc/abis_nm.c
+++ b/openbsc/src/libbsc/abis_nm.c
@@ -380,7 +380,8 @@ static int abis_nm_rx_statechg_rep(struct msgb *mb)
if (TLVP_PRESENT(&tp, NM_ATT_ADM_STATE)) {
new_state.administrative = *TLVP_VAL(&tp, NM_ATT_ADM_STATE);
DEBUGPC(DNM, "ADM=%2s ",
- abis_nm_adm_state_name(new_state.administrative));
+ get_value_string(abis_nm_adm_state_names,
+ new_state.administrative));
}
DEBUGPC(DNM, "\n");