Project

General

Profile

Bug #3751 ยป 004-11-Fix_ntohs_Trace_RTCP-patch.diff

Jordi Font, 2016-04-28 02:33

View differences:

tvheadend/src/satip/rtp.c 2016-03-31 02:41:51.824232258 +0200
884 884
      if (tvhtrace_enabled()) {
885 885
        msg[len] = '\0';
886 886
        tcp_get_str_from_ip((struct sockaddr*)&rtp->peer2, addrbuf, sizeof(addrbuf));
887
        tvhtrace("satips", "RTCP send to %s:%d : %s", addrbuf, IP_PORT(rtp->peer2), msg + 16);
887
        tvhtrace("satips", "RTCP send to %s:%d : %s", addrbuf, ntohs(IP_PORT(rtp->peer2)), msg + 16);
888 888
      }
889 889
      if (rtp->port == RTSP_TCP_DATA) {
890 890
        satip_rtp_tcp_data(rtp, 1, msg, len);
    (1-1/1)