[asterisk-commits] qwell: trunk r241098 - /trunk/main/rtp_engine.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Jan 18 16:03:54 CST 2010


Author: qwell
Date: Mon Jan 18 16:03:49 2010
New Revision: 241098

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=241098
Log:
Fix an RTP instance allocation failure on Solaris.

(closes issue #16543)
Reported by: crjw
Patches:
      rtp_sin_family.patch uploaded by crjw (license 963)
Tested by: crjw, qwell

Modified:
    trunk/main/rtp_engine.c

Modified: trunk/main/rtp_engine.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/rtp_engine.c?view=diff&rev=241098&r1=241097&r2=241098
==============================================================================
--- trunk/main/rtp_engine.c (original)
+++ trunk/main/rtp_engine.c Mon Jan 18 16:03:49 2010
@@ -323,6 +323,7 @@
 	instance->local_address.sin_family = AF_INET;
 	instance->local_address.sin_addr = sin->sin_addr;
 	instance->remote_address.sin_family = AF_INET;
+	address.sin_family = AF_INET;
 	address.sin_addr = sin->sin_addr;
 
 	ast_debug(1, "Using engine '%s' for RTP instance '%p'\n", engine->name, instance);




More information about the asterisk-commits mailing list