]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
SAT>IP server: fix RTP port trace, fixes #3751
authorJaroslav Kysela <perex@perex.cz>
Thu, 28 Apr 2016 07:19:30 +0000 (09:19 +0200)
committerJaroslav Kysela <perex@perex.cz>
Thu, 28 Apr 2016 07:19:30 +0000 (09:19 +0200)
src/satip/rtp.c

index 047aff0bdaf3feaebb42e97d010fdafc295cd5fb..986d579f243c5f9357f64956d312f67a8047de13 100644 (file)
@@ -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);