dovecot-2.2: doveconf: local and remote net/bits addresses were ...
dovecot at dovecot.org
dovecot at dovecot.org
Wed Aug 20 09:19:41 UTC 2014
details: http://hg.dovecot.org/dovecot-2.2/rev/8d3895feb931
changeset: 17729:8d3895feb931
user: Timo Sirainen <tss at iki.fi>
date: Wed Aug 20 11:19:15 2014 +0200
description:
doveconf: local and remote net/bits addresses were printed with /bits twice.
diffstat:
src/config/doveconf.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 0b86058d4e5e -r 8d3895feb931 src/config/doveconf.c
--- a/src/config/doveconf.c Wed Aug 20 11:09:27 2014 +0200
+++ b/src/config/doveconf.c Wed Aug 20 11:19:15 2014 +0200
@@ -340,7 +340,7 @@
unsigned int indent = 0;
if (filter->local_bits > 0) {
- str_printfa(str, "local %s", filter->local_host);
+ str_printfa(str, "local %s", net_ip2addr(&filter->local_net));
if (IPADDR_IS_V4(&filter->local_net)) {
if (filter->local_bits != 32)
@@ -361,7 +361,7 @@
if (filter->remote_bits > 0) {
str_append_n(str, indent_str, indent*2);
- str_printfa(str, "remote %s", filter->remote_host);
+ str_printfa(str, "remote %s", net_ip2addr(&filter->remote_net));
if (IPADDR_IS_V4(&filter->remote_net)) {
if (filter->remote_bits != 32)
More information about the dovecot-cvs
mailing list