[asterisk-commits] simon.perreault: branch group/v6-new r273885 - /team/group/v6-new/main/acl.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Jul 5 08:51:48 CDT 2010


Author: simon.perreault
Date: Mon Jul  5 08:51:45 2010
New Revision: 273885

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=273885
Log:
Never return a wildcard address from ast_find_ourip()

Modified:
    team/group/v6-new/main/acl.c

Modified: team/group/v6-new/main/acl.c
URL: http://svnview.digium.com/svn/asterisk/team/group/v6-new/main/acl.c?view=diff&rev=273885&r1=273884&r2=273885
==============================================================================
--- team/group/v6-new/main/acl.c (original)
+++ team/group/v6-new/main/acl.c Mon Jul  5 08:51:45 2010
@@ -530,7 +530,7 @@
 	int addrs_cnt;
 
 	/* just use the bind address if it is nonzero */
-	if (!ast_sockaddr_isnull(bindaddr)) {
+	if (!ast_sockaddr_is_any(bindaddr)) {
 		ast_sockaddr_copy(ourip, bindaddr);
 		ast_debug(3, "Attached to given IP address\n");
 		return 0;




More information about the asterisk-commits mailing list