Skip to content
Snippets Groups Projects
Commit bbd29030 authored by Jason Parker's avatar Jason Parker
Browse files

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@241098 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 12306deb
No related branches found
No related tags found
No related merge requests found
......@@ -323,6 +323,7 @@ struct ast_rtp_instance *ast_rtp_instance_new(const char *engine_name, struct sc
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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment