From: Jaroslav Kysela Date: Thu, 28 Apr 2016 07:19:30 +0000 (+0200) Subject: SAT>IP server: fix RTP port trace, fixes #3751 X-Git-Tag: v4.2.1~601 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=228cf1d29e273bc40778df6c4c775ecf12645821;p=thirdparty%2Ftvheadend.git SAT>IP server: fix RTP port trace, fixes #3751 --- diff --git a/src/satip/rtp.c b/src/satip/rtp.c index 047aff0bd..986d579f2 100644 --- a/src/satip/rtp.c +++ b/src/satip/rtp.c @@ -884,7 +884,7 @@ satip_rtcp_thread(void *aux) if (tvhtrace_enabled()) { msg[len] = '\0'; tcp_get_str_from_ip((struct sockaddr*)&rtp->peer2, addrbuf, sizeof(addrbuf)); - tvhtrace("satips", "RTCP send to %s:%d : %s", addrbuf, IP_PORT(rtp->peer2), msg + 16); + tvhtrace("satips", "RTCP send to %s:%d : %s", addrbuf, ntohs(IP_PORT(rtp->peer2)), msg + 16); } if (rtp->port == RTSP_TCP_DATA) { satip_rtp_tcp_data(rtp, 1, msg, len);