Fix 'socker' typo (#104)
authorMatt Bostock <matt@mattbostock.com>
Wed, 25 Jan 2017 18:47:14 +0000 (18:47 +0000)
committerBrian Brazil <brian-brazil@users.noreply.github.com>
Wed, 25 Jan 2017 18:47:14 +0000 (18:47 +0000)
`socker` should be `socket`.

icmp.go

diff --git a/icmp.go b/icmp.go
index 86f9a6e40239a8b40f9f63580a303014267601b3..5540534849e63ff041382be1e721fee1785a0af5 100644 (file)
--- a/icmp.go
+++ b/icmp.go
@@ -122,7 +122,7 @@ func probeICMP(target string, w http.ResponseWriter, module Module) (success boo
                return
        }
        if _, err := socket.WriteTo(wb, ip); err != nil {
-               log.Errorf("Error writing to socker for %s: %s", target, err)
+               log.Errorf("Error writing to socket for %s: %s", target, err)
                return
        }