red for timeout

master
dustoair 3 years ago
parent 64f612db4c
commit 32c31261e3

@ -123,6 +123,7 @@ func Ping(domain string, PS int) {
++
*/
if _, err := conn.Write(buffer.Bytes()); err != nil {
fmt.Printf("%s\n", red("timeout"))
dropPack++
time.Sleep(time.Second)
continue

Loading…
Cancel
Save