aboutsummaryrefslogtreecommitdiff
path: root/mail/dovecot/files/patch-src_master_main.c
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2006-06-19 16:19:25 +0000
committerRenato Botelho <garga@FreeBSD.org>2006-06-19 16:19:25 +0000
commita2b1f8db9defbc8b9745fa20bc709324266a7cb4 (patch)
treeb135509dfde2eb436fbbab91ecb42415d1e3fa2f /mail/dovecot/files/patch-src_master_main.c
parentc090c55e39888b281b84f237ded930d5cb49a5ec (diff)
Notes
Diffstat (limited to 'mail/dovecot/files/patch-src_master_main.c')
-rw-r--r--mail/dovecot/files/patch-src_master_main.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/mail/dovecot/files/patch-src_master_main.c b/mail/dovecot/files/patch-src_master_main.c
new file mode 100644
index 000000000000..4c556da4f1d4
--- /dev/null
+++ b/mail/dovecot/files/patch-src_master_main.c
@@ -0,0 +1,13 @@
+--- src/master/main.c 11 Jun 2006 17:44:25 -0000 1.80.2.2
++++ src/master/main.c 16 Jun 2006 10:11:07 -0000 1.80.2.3
+@@ -355,7 +355,9 @@
+ resolve_ip(set->listen, &set->listen_ip, &set->listen_port);
+ resolve_ip(set->ssl_listen, &set->ssl_listen_ip, &set->ssl_listen_port);
+
+- if (set->ssl_listen_ip.family == 0 && set->ssl_listen == NULL)
++ /* if ssl_listen wasn't explicitly set in the config file,
++ use the non-ssl IP settings for the ssl listener, too. */
++ if (set->ssl_listen_ip.family == 0 && *set->ssl_listen == '\0')
+ set->ssl_listen_ip = set->listen_ip;
+
+ /* register wanted protocols */