diff --git a/net/ping/ping.go b/net/ping/ping.go index 4769ee7..080f7f2 100644 --- a/net/ping/ping.go +++ b/net/ping/ping.go @@ -62,7 +62,6 @@ func parseLinuxPing(output []byte) (*PingResult, error) { LOOP: for _, line := range lines { - log.Print(line) fields := strings.Fields(line) switch len(fields) { case 5: @@ -184,11 +183,9 @@ func parseWindowsPing(output []byte) (*PingResult, error) { seq := 1 LOOP: for _, line := range lines { - log.Print(line) fields := strings.Fields(line) switch len(fields) { case 3: - log.Print(fields) if "Request timed out." != line { continue LOOP } @@ -222,7 +219,6 @@ LOOP: } seq = seq + 1 case 9: - log.Print(fields) if "Minimum" != fields[0] { continue LOOP } @@ -305,7 +301,6 @@ func parseDarwinPing(output []byte) (*PingResult, error) { LOOP: for _, line := range lines { - log.Print(line) fields := strings.Fields(line) switch len(fields) { case 5: