# HG changeset patch # User Timo Sirainen # Date 1408526355 -7200 # Node ID 8d3895feb931d410443c0d36319bf8d88f68b61d # Parent 0b86058d4e5ea5f25a704a9f10491331cd63955c doveconf: local and remote net/bits addresses were printed with /bits twice. 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)