dovecot-2.2: auth: Use real_lip for proxy_maybe checks.

dovecot at dovecot.org dovecot at dovecot.org
Fri Feb 22 13:05:34 EET 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/68c9d01ae5d2
changeset: 15889:68c9d01ae5d2
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Feb 22 13:05:21 2013 +0200
description:
auth: Use real_lip for proxy_maybe checks.

diffstat:

 src/auth/auth-request.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r c43fcfa2c4b4 -r 68c9d01ae5d2 src/auth/auth-request.c
--- a/src/auth/auth-request.c	Fri Feb 22 13:04:45 2013 +0200
+++ b/src/auth/auth-request.c	Fri Feb 22 13:05:21 2013 +0200
@@ -1526,7 +1526,7 @@
 {
 	unsigned int i;
 
-	if (net_ip_compare(ip, &request->local_ip))
+	if (net_ip_compare(ip, &request->real_local_ip))
 		return TRUE;
 
 	for (i = 0; request->set->proxy_self_ips[i].family != 0; i++) {


More information about the dovecot-cvs mailing list