aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2017-06-14 12:00:30 +0200
committerPhilipp Maier <pmaier@sysmocom.de>2017-06-20 14:32:51 +0200
commit804e2d5d2c8cdc515355cf6596dd94f6214754ed (patch)
tree0083692ac808e4e9e5395cd1aec396c2ca179ddb
parent8185a941f8d47647de3941e1a9e2b445ca92c2ce (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;
}