[Asterisk-cvs] asterisk/channels chan_sip.c,1.440,1.441

markster at lists.digium.com markster at lists.digium.com
Thu Jul 8 09:18:55 CDT 2004


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv4194/channels

Modified Files:
	chan_sip.c 
Log Message:
Use proper bind address


Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.440
retrieving revision 1.441
diff -u -d -r1.440 -r1.441
--- chan_sip.c	8 Jul 2004 11:46:15 -0000	1.440
+++ chan_sip.c	8 Jul 2004 13:04:42 -0000	1.441
@@ -2229,9 +2229,9 @@
 	} else {
 		memcpy(&p->ourip, &__ourip, sizeof(p->ourip));
 	}
-	p->rtp = ast_rtp_new_with_bindaddr(sched, io, 1, 0, p->ourip);
+	p->rtp = ast_rtp_new_with_bindaddr(sched, io, 1, 0, __ourip);
 	if (videosupport)
-		p->vrtp = ast_rtp_new_with_bindaddr(sched, io, 1, 0, p->ourip);
+		p->vrtp = ast_rtp_new_with_bindaddr(sched, io, 1, 0, __ourip);
 	p->branch = rand();	
 	p->tag = rand();
 	




More information about the svn-commits mailing list