diff --git a/crates/udp/src/lib.rs b/crates/udp/src/lib.rs index 09145e0..d26e8bb 100644 --- a/crates/udp/src/lib.rs +++ b/crates/udp/src/lib.rs @@ -281,8 +281,8 @@ enum WorkerType { impl Display for WorkerType { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { match self { - Self::Swarm(index) => f.write_fmt(format_args!("Swarm worker {}", index)), - Self::Socket(index) => f.write_fmt(format_args!("Socket worker {}", index)), + Self::Swarm(index) => f.write_fmt(format_args!("Swarm worker {}", index + 1)), + Self::Socket(index) => f.write_fmt(format_args!("Socket worker {}", index + 1)), Self::Statistics => f.write_str("Statistics worker"), Self::Signals => f.write_str("Signals worker"), #[cfg(feature = "prometheus")]