aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2017-06-14 12:00:30 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-06-20 14:10:03 +0200
commit46b2c1cb8adca39550c43b1027b34a13c2b2dad4 (patch)
tree0083692ac808e4e9e5395cd1aec396c2ca179ddb
parent5617f26adf94d1cd3b8a3a89818c2c4d50b657b2 (diff)
rsl: fix stray line break in logtext
The log output from the rsl layer injects line breaks at wrong places in the log. This messes up the logtext. This commit fixes the problem.
-rw-r--r--openbsc/src/libbsc/abis_rsl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbsc/src/libbsc/abis_rsl.c b/openbsc/src/libbsc/abis_rsl.c
index 441b3861b..1b5758848 100644
--- a/openbsc/src/libbsc/abis_rsl.c
+++ b/openbsc/src/libbsc/abis_rsl.c
@@ -2323,6 +2323,8 @@ static void ipac_parse_rtp(struct gsm_lchan *lchan, struct tlv_parsed *tv)
DEBUGPC(DRSL, "REMOTE_PORT=%u ", port);
lchan->abis_ip.connect_port = port;
}
+
+ DEBUGPC(DRSL, "\n");
}
/*! \brief Issue IPA RSL CRCX to configure RTP on BTS side
@@ -2554,7 +2556,6 @@ static int abis_rsl_rx_ipacc(struct msgb *msg)
rllh->c.msg_type);
break;
}
- DEBUGPC(DRSL, "\n");
return rc;
}