From: Jaroslav Kysela Date: Mon, 7 Aug 2017 12:28:10 +0000 (+0200) Subject: satip server: rtp - show the correct TCP port number in debug msg for streaming close... X-Git-Tag: v4.2.4~65 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=349a9f8ec85f1cb151a5dfa7e4b64ab7f2d89835;p=thirdparty%2Ftvheadend.git satip server: rtp - show the correct TCP port number in debug msg for streaming close, fixes #4226 --- diff --git a/src/satip/rtp.c b/src/satip/rtp.c index 5679f7ade..d6f6fb07f 100644 --- a/src/satip/rtp.c +++ b/src/satip/rtp.c @@ -442,7 +442,9 @@ satip_rtp_thread(void *aux) pthread_mutex_unlock(&sq->sq_mutex); tvhdebug(LS_SATIPS, "RTP streaming to %s:%d closed (%s request)%s", - peername, rtp->port, alive ? "remote" : "streaming", + peername, + tcp ? ntohs(IP_PORT(rtp->peer)) : rtp->port, + alive ? "remote" : "streaming", fatal ? " (fatal)" : ""); return NULL;