From 79fc4eaac42f882bebce2101ccd6dda60015d81b Mon Sep 17 00:00:00 2001 From: crusader Date: Mon, 17 Sep 2018 20:29:40 +0900 Subject: [PATCH] ing --- net/ping/ping.go | 5 ----- 1 file changed, 5 deletions(-) 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: