summaryrefslogtreecommitdiff
path: root/main/rtp_engine.c
diff options
context:
space:
mode:
authorJason Parker <jparker@digium.com>2010-01-18 22:03:49 +0000
committerJason Parker <jparker@digium.com>2010-01-18 22:03:49 +0000
commitbbd290308f67cdaaf3a7cc80b40f09cbe104a112 (patch)
tree688c166a5d4d7741c0e885edab3b6fcef6a3b052 /main/rtp_engine.c
parent12306debf2b68478a3470805a08161077bae51aa (diff)
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
Diffstat (limited to 'main/rtp_engine.c')
-rw-r--r--main/rtp_engine.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/rtp_engine.c b/main/rtp_engine.c
index 8db95eaab..8085e9d9e 100644
--- a/main/rtp_engine.c
+++ b/main/rtp_engine.c
@@ -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);