diff --git a/src/core/config/mod.rs b/src/core/config/mod.rs index e9fc4a36..9d3135ea 100644 --- a/src/core/config/mod.rs +++ b/src/core/config/mod.rs @@ -1885,7 +1885,7 @@ impl Config { let mut addrs = Vec::with_capacity( self.get_bind_hosts() .len() - .saturating_add(self.get_bind_ports().len()), + .saturating_mul(self.get_bind_ports().len()), ); for host in &self.get_bind_hosts() { for port in &self.get_bind_ports() {