Mercurial > dovecot > core-2.2
changeset 19738:411e489cd078
auth: Don't revert any previous failed=TRUE status if allow_nets check succeeds
author | Timo Sirainen <timo.sirainen@dovecot.fi> |
---|---|
date | Wed, 10 Feb 2016 16:51:42 +0200 |
parents | dd01148fc698 |
children | 4e3662023aad |
files | src/auth/auth-request.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/auth/auth-request.c Wed Feb 10 15:50:48 2016 +0200 +++ b/src/auth/auth-request.c Wed Feb 10 16:51:42 2016 +0200 @@ -1381,7 +1381,8 @@ "%s check failed: IP %s not in allowed networks", name, net_ip2addr(remote_ip)); } - request->failed = !found; + if (!found) + request->failed = TRUE; } static void