[dovecot-cvs] dovecot/src/master main.c,1.38,1.39

cras at procontrol.fi cras at procontrol.fi
Wed Feb 26 13:21:45 EET 2003


Update of /home/cvs/dovecot/src/master
In directory danu:/tmp/cvs-serv11042

Modified Files:
	main.c 
Log Message:
[::] address wasn't treated exactly as "ipv6 any", but looks like
gethostbyname() worked with it.



Index: main.c
===================================================================
RCS file: /home/cvs/dovecot/src/master/main.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -d -r1.38 -r1.39
--- main.c	26 Feb 2003 11:19:06 -0000	1.38
+++ main.c	26 Feb 2003 11:21:43 -0000	1.39
@@ -196,7 +196,7 @@
 		return ip;
 	}
 
-	if (strcmp(name, "[::]") == 0) {
+	if (strcmp(name, "::") == 0) {
 		/* IPv6 any */
 		ip = t_new(struct ip_addr, 1);
 		net_get_ip_any6(ip);




More information about the dovecot-cvs mailing list