dovecot-2.2: imap IDLE: Add also 172.168/12 to private networks.

dovecot at dovecot.org dovecot at dovecot.org
Thu Aug 23 23:51:01 EEST 2012


details:   http://hg.dovecot.org/dovecot-2.2/rev/725a91613107
changeset: 14955:725a91613107
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Aug 23 23:50:55 2012 +0300
description:
imap IDLE: Add also 172.168/12 to private networks.

diffstat:

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

diffs (12 lines):

diff -r 8d7f9e2d726c -r 725a91613107 src/imap/cmd-idle.c
--- a/src/imap/cmd-idle.c	Thu Aug 23 21:49:15 2012 +0300
+++ b/src/imap/cmd-idle.c	Thu Aug 23 23:50:55 2012 +0300
@@ -173,6 +173,8 @@
 			return FALSE; /* 10/8 */
 		if (addr >= 3232235520 && addr <= 3232301055)
 			return FALSE; /* 192.168/16 */
+		if (addr >= 2886729728 && addr <= 2887778303)
+			return FALSE; /* 172.16/12 */
 		if (addr >= 2130706432 && addr <= 2147483647)
 			return FALSE; /* 127/8 */
 	}


More information about the dovecot-cvs mailing list