aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrmudgett <rmudgett@f38db490-d61c-443f-a65b-d21fe96a405b>2010-07-08 23:23:17 +0000
committerrmudgett <rmudgett@f38db490-d61c-443f-a65b-d21fe96a405b>2010-07-08 23:23:17 +0000
commit90a1e4acd5a12a02e7453f4859854a08eb7fcb89 (patch)
tree6e53f2109edfc7fe283e8f297bf2ee08c8b2184b
parentd67528d1560aad6384d533947babdacc2f26794b (diff)
Fix compile of chan_ooh323.c from IPv6 integration.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@274827 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--addons/chan_ooh323.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/chan_ooh323.c b/addons/chan_ooh323.c
index f088e9c58..6b8596c5e 100644
--- a/addons/chan_ooh323.c
+++ b/addons/chan_ooh323.c
@@ -484,7 +484,7 @@ static struct ooh323_pvt *ooh323_alloc(int callref, char *callToken)
ouraddr.sin_family = AF_INET;
ouraddr.sin_addr = ipAddr;
- tmp = ast_sockaddr_from_sin(ouraddr);
+ ast_sockaddr_from_sin(&tmp, &ouraddr);
if (!(pvt->rtp = ast_rtp_instance_new("asterisk", sched, &tmp, NULL))) {
ast_log(LOG_WARNING, "Unable to create RTP session: %s\n",
strerror(errno));
@@ -3937,7 +3937,7 @@ void setup_rtp_connection(ooCallData *call, const char *remoteIp,
them.sin_family = AF_INET;
them.sin_addr.s_addr = inet_addr(remoteIp); /* only works for IPv4 */
them.sin_port = htons(remotePort);
- tmp = ast_sockaddr_from_sin(&them);
+ ast_sockaddr_from_sin(&tmp, &them);
ast_rtp_instance_set_remote_address(p->rtp, &tmp);
if (p->writeformat & AST_FORMAT_G726_AAL2)