update print format

This commit is contained in:
mz
2021-11-13 16:49:47 +08:00
parent ab6390a4a4
commit 7301d32cbe
3 changed files with 10 additions and 10 deletions

View File

@@ -66,7 +66,7 @@ func (p *Ping) Run() utils.PingDelaySet {
if IPv6 { // IPv6 模式判断
ipVersion = "IPv6"
}
fmt.Printf("开始延迟测速模式TCP %s端口%d ,平均延迟上限:%v平均延迟下限%v)\n", ipVersion, TCPPort, utils.InputMaxDelay, utils.InputMinDelay)
fmt.Printf("开始延迟测速模式TCP %s端口%d平均延迟上限%vms,平均延迟下限:%vms)\n", ipVersion, TCPPort, utils.InputMaxDelay.Milliseconds(), utils.InputMinDelay.Milliseconds())
for _, ip := range p.ips {
p.wg.Add(1)
p.control <- false