dovecot-2.2: director: Include tag also in the hosts_hash.
dovecot at dovecot.org
dovecot at dovecot.org
Mon Nov 30 19:40:10 UTC 2015
details: http://hg.dovecot.org/dovecot-2.2/rev/1c826c476dbb
changeset: 19440:1c826c476dbb
user: Timo Sirainen <tss at iki.fi>
date: Mon Nov 30 21:39:34 2015 +0200
description:
director: Include tag also in the hosts_hash.
diffstat:
src/director/mail-host.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (12 lines):
diff -r a36239ce0f78 -r 1c826c476dbb src/director/mail-host.c
--- a/src/director/mail-host.c Mon Nov 30 21:39:07 2015 +0200
+++ b/src/director/mail-host.c Mon Nov 30 21:39:34 2015 +0200
@@ -148,6 +148,8 @@
num = net_ip_hash(&(*hostp)->ip);
list->hosts_hash = crc32_data_more(list->hosts_hash,
&num, sizeof(num));
+ list->hosts_hash = crc32_str_more(list->hosts_hash,
+ (*hostp)->tag->name);
}
}
More information about the dovecot-cvs
mailing list