Module: sems
Branch: peterlemenkov/1.4.3-fedora
Commit: ad89c8cc396a6d1461a0fc6adb06585aafa3bc7f
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=ad89c8cc396a6d1461a0fc6adb06585aafa3bc7f

Author: Peter Lemenkov <[email protected]>
Committer: Peter Lemenkov <[email protected]>
Date:   Thu Apr 19 16:43:45 2012 +0400

Fix building with IPv6 support

Signed-off-by: Peter Lemenkov <[email protected]>

---

 core/AmRtpStream.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/core/AmRtpStream.cpp b/core/AmRtpStream.cpp
index bb2b0a4..be2ac9b 100644
--- a/core/AmRtpStream.cpp
+++ b/core/AmRtpStream.cpp
@@ -159,7 +159,7 @@ void AmRtpStream::setLocalPort()
 
   l_port = port;
   AmRtpReceiver::instance()->addStream(l_sd,this);
-  DBG("added to RTP receiver 
(%s:%i)\n",get_addr_str(l_saddr.sin_addr).c_str(),l_port);
+  DBG("added to RTP receiver (%s:%i)\n",get_addr_str( ((struct 
sockaddr_in*)&l_saddr)->sin_addr ).c_str(),l_port);
 }
 
 int AmRtpStream::ping()

_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to