dovecot-2.2: imap IDLE: Reverted the IPv6 change, it doesn't wor...

dovecot at dovecot.org dovecot at dovecot.org
Fri Aug 24 09:42:14 EEST 2012


details:   http://hg.dovecot.org/dovecot-2.2/rev/cdb2d4d89d5d
changeset: 14957:cdb2d4d89d5d
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Aug 24 09:41:55 2012 +0300
description:
imap IDLE: Reverted the IPv6 change, it doesn't work like that.

diffstat:

 src/imap/cmd-idle.c |  8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)

diffs (18 lines):

diff -r dc58905b5c9c -r cdb2d4d89d5d src/imap/cmd-idle.c
--- a/src/imap/cmd-idle.c	Thu Aug 23 23:20:57 2012 +0000
+++ b/src/imap/cmd-idle.c	Fri Aug 24 09:41:55 2012 +0300
@@ -178,14 +178,6 @@
 		if (addr >= 2130706432 && addr <= 2147483647)
 			return FALSE; /* 127/8 */
 	}
-#ifdef HAVE_IPV6
-	else if (ip->family == AF_INET6) {
-		addr = ip->u.ip6.s6_addr;
-		if (addr >= 334965454937798799971759379190646833152ULL &&
-		    addr <= 337623910929368631717566993311207522303ULL)
-			return FALSE; /* fc00::/7 */
-	}
-#endif
 	return TRUE;
 }
 


More information about the dovecot-cvs mailing list