dovecot-2.0: config: Fixed IPv6 address handling for parsing v1....
dovecot at dovecot.org
dovecot at dovecot.org
Mon Jul 2 08:09:14 EEST 2012
details: http://hg.dovecot.org/dovecot-2.0/rev/ac6fec6057e6
changeset: 13104:ac6fec6057e6
user: Timo Sirainen <tss at iki.fi>
date: Mon Jul 02 08:06:19 2012 +0300
description:
config: Fixed IPv6 address handling for parsing v1.x style listen/ssl_listen settings.
diffstat:
src/config/old-set-parser.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 2440e656ed9f -r ac6fec6057e6 src/config/old-set-parser.c
--- a/src/config/old-set-parser.c Sun Jun 24 01:03:52 2012 +0300
+++ b/src/config/old-set-parser.c Mon Jul 02 08:06:19 2012 +0300
@@ -299,7 +299,7 @@
return TRUE;
}
p = strrchr(value, ':');
- if (p != NULL) {
+ if (p != NULL && listen_has_port(value)) {
obsolete(ctx, "%s=..:port has been replaced by service { inet_listener { port } }", key);
value = t_strdup_until(value, p++);
if (config_filter_match(&old_section->filter, &imap_filter)) {
More information about the dovecot-cvs
mailing list