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-14 12:00:30 +0200
commit17aee71dac4ab50a4a3d3c1ff9ef92575a8b6ba9 (patch)
treec0237b108a315de48e449f8da93b70aec968e18c
parentcb1203a98f56a1180b9cd08654bd65e51ea8d67e (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 d4fdaedbd..b35b1742e 100644
--- a/openbsc/src/libbsc/abis_rsl.c
+++ b/openbsc/src/libbsc/abis_rsl.c
@@ -2259,6 +2259,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
@@ -2490,7 +2492,6 @@ static int abis_rsl_rx_ipacc(struct msgb *msg)
rllh->c.msg_type);
break;
}
- DEBUGPC(DRSL, "\n");
return rc;
}