aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2016-12-05 16:13:53 +0100
committerPhilipp <pmaier@sysmocom.de>2016-12-22 18:22:25 +0100
commitc32310bc8f6ac585ebd67e68a34a91171a2a49f0 (patch)
treea1aa2607adaf182585b710e5169dcac29aee9fe4
parentc9f8c396935e14b1bde85242b34ac4d25e791848 (diff)
Expand network error callback
ortp: use extra parameter for network_error callback in log message as it's described in oRTP documentation (error string). Change-Id: I581db499d453b80230198d95000f0f6fc20752d1
-rw-r--r--src/trau/osmo_ortp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/trau/osmo_ortp.c b/src/trau/osmo_ortp.c
index f7adc93..0f0b9e5 100644
--- a/src/trau/osmo_ortp.c
+++ b/src/trau/osmo_ortp.c
@@ -130,7 +130,7 @@ static void ortp_sig_cb_net(RtpSession *rs, void *data)
int port = rtp_session_get_local_port(rs);
LOGP(DLMIB, LOGL_ERROR,
- "osmo-ortp(%d): network_error\n", port);
+ "osmo-ortp(%d): network_error %s\n", port, (char *)data);
}
static void ortp_sig_cb_ts(RtpSession *rs, void *data)