Skip to content

Commit

Permalink
Fix misspellings
Browse files Browse the repository at this point in the history
  • Loading branch information
corny committed Jun 17, 2018
1 parent 8c670b5 commit 6aedb0a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion error.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var (
errNotBound = errors.New("need at least one bind address")
)

// timeoutError implementes the net.Error interface. Originally taken from
// timeoutError implements the net.Error interface. Originally taken from
// https://github.com/golang/go/blob/release-branch.go1.8/src/net/net.go#L505-L509
type timeoutError struct{}

Expand Down
2 changes: 1 addition & 1 deletion receiving.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func (pinger *Pinger) receiver(proto int, conn *icmp.PacketConn) {
}

// receive takes the raw message and tries to evaluate an ICMP response.
// If that succeedes, the body will given to process() for further processing.
// If that succeeds, the body will given to process() for further processing.
func (pinger *Pinger) receive(proto int, bytes []byte, addr net.IP, t time.Time) {
// parse message
m, err := icmp.ParseMessage(proto, bytes)
Expand Down

0 comments on commit 6aedb0a

Please sign in to comment.