diff --git a/core/AmRtpStream.cpp b/core/AmRtpStream.cpp index 08e6be29..155b4800 100644 --- a/core/AmRtpStream.cpp +++ b/core/AmRtpStream.cpp @@ -511,7 +511,7 @@ void AmRtpStream::setRAddr(const string& addr, unsigned short port) r_port = port; #ifndef SUPPORT_IPV6 - mute = (sa.sin_addr.s_addr == 0); + mute = (r_saddr.sin_addr.s_addr == 0); #endif }