summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2009-06-12 01:34:29 +0800
committerHarald Welte <laforge@gnumonks.org>2009-06-12 01:34:29 +0800
commit5d4b1c2c3373c70d8b5dab09609a7f7d7ab623b1 (patch)
tree3975c3ac45e5558be6c59d1f3633af4817893b62
parentc66b71cb76c40f88ceec12d612e48746041a38af (diff)
abis_nm: fix printing of ADMinistrative state
-rw-r--r--openbsc/src/abis_nm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/abis_nm.c b/openbsc/src/abis_nm.c
index 83e6bbb48..905289b6d 100644
--- a/openbsc/src/abis_nm.c
+++ b/openbsc/src/abis_nm.c
@@ -694,7 +694,7 @@ 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=%02x ", nm_adm_name(new_state.administrative));
+ DEBUGPC(DNM, "ADM=%02s ", nm_adm_name(new_state.administrative));
}
DEBUGPC(DNM, "\n");