aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2019-05-05 16:47:49 +0300
committerVadim Yanitskiy <axilirator@gmail.com>2019-05-05 16:47:49 +0300
commit5efbd4e86233f8df6fe30420c86a19f6fb9043a7 (patch)
treecbff88aa0972d65ddc825f685a7988ee41c14a8a
parentcommon/oml.c: use proper format specifier for uint16_t (diff)
downloadOsmoBTS-5efbd4e86233f8df6fe30420c86a19f6fb9043a7.tar.xz
OsmoBTS-5efbd4e86233f8df6fe30420c86a19f6fb9043a7.zip
common/oml.c: fix broken debug print in down_mom()
Change-Id: Ideac59946d50c6e06052a9590e02cfcfbf23d003
-rw-r--r--src/common/oml.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/oml.c b/src/common/oml.c
index baf374ae..62dea7b2 100644
--- a/src/common/oml.c
+++ b/src/common/oml.c
@@ -1411,8 +1411,8 @@ static int down_mom(struct gsm_bts *bts, struct msgb *msg)
return oml_fom_ack_nack(msg, NM_NACK_BTSNR_UNKN);
}
- /* FIXME: fix missing \n */
- DEBUGPFOH(DOML, foh, "Rx IPACCESS(0x%02x): ", foh->msg_type);
+ DEBUGPFOH(DOML, foh, "Rx IPACCESS(0x%02x): %s\n", foh->msg_type,
+ osmo_hexdump(foh->data, oh->length - sizeof(*foh)));
switch (foh->msg_type) {
case NM_MT_IPACC_RSL_CONNECT: