aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-11-23 13:47:16 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2020-11-23 13:47:16 +0100
commit3bdf59b227c4956460e01ed45e8915cfd5461a15 (patch)
tree2265cc37f3281723f44c531018c3d8777563c433
parent4da31b81731f47e522e8998f099991429ba82c14 (diff)
ipaccess: Use LOGPITS macro in __handle_ts1_write
-rw-r--r--src/input/ipaccess.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/input/ipaccess.c b/src/input/ipaccess.c
index 18cf7f5..593f9f0 100644
--- a/src/input/ipaccess.c
+++ b/src/input/ipaccess.c
@@ -497,11 +497,12 @@ static int __handle_ts1_write(struct osmo_fd *bfd, struct e1inp_line *line)
msg->l2h = msg->data;
ipa_prepend_header(msg, sign_link->tei);
- DEBUGP(DLMI, "TX %u: %s\n", ts_nr, osmo_hexdump(msg->l2h, msgb_l2len(msg)));
+ LOGPITS(e1i_ts, DLMI, LOGL_NOTICE, "TX %u: %s\n", ts_nr,
+ osmo_hexdump(msg->l2h, msgb_l2len(msg)));
ret = send(bfd->fd, msg->data, msg->len, 0);
if (ret != msg->len) {
- LOGP(DLINP, LOGL_ERROR, "failed to send A-bis IPA signalling "
+ LOGPITS(e1i_ts, DLINP, LOGL_ERROR, "failed to send A-bis IPA signalling "
"message. Reason: %s\n", strerror(errno));
goto err;
}