diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2020-11-23 13:47:16 +0100 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2020-11-23 13:47:16 +0100 |
commit | 3bdf59b227c4956460e01ed45e8915cfd5461a15 (patch) | |
tree | 2265cc37f3281723f44c531018c3d8777563c433 | |
parent | 4da31b81731f47e522e8998f099991429ba82c14 (diff) |
ipaccess: Use LOGPITS macro in __handle_ts1_write
Change-Id: Idce3bb3daf8ab16b84968a61502c826df8b773ed
-rw-r--r-- | src/input/ipaccess.c | 5 |
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; } |