[Asterisk-cvs] asterisk acl.c,1.35,1.36

markster at lists.digium.com markster at lists.digium.com
Tue Jan 18 07:55:21 CST 2005


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

Modified Files:
	acl.c 
Log Message:
Fix bindaddr on IAX (bug #3366)


Index: acl.c
===================================================================
RCS file: /usr/cvsroot/asterisk/acl.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- acl.c	17 Jan 2005 22:53:36 -0000	1.35
+++ acl.c	18 Jan 2005 13:58:33 -0000	1.36
@@ -378,6 +378,7 @@
 			if ((portno = atoi(port)) > 0) 
 				sin.sin_port = htons(portno);
 		}
+		inet_aton(tmp, &sin.sin_addr);
 		return ast_netsock_bindaddr(list, ioc, &sin, tos, callback, data);
 	} else
 		ast_log(LOG_WARNING, "Out of memory!\n");




More information about the svn-commits mailing list