diff options
author | Jonathan Tooker <jonathan.tooker@netprotect.com> | 2019-10-21 15:52:26 -0500 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-10-22 11:51:25 +0200 |
commit | f7d0edd2ecf5f7f5aed188823de0a122691a7de6 (patch) | |
tree | 9aac319a2e6bc9a7d66e9586a606f46c4defbacf /device/conn_linux.go | |
parent | ffffbbcc8a3344a45c45884f11a1aee1407615ab (diff) |
global: fix a few typos courtesy of codespell
Signed-off-by: Jonathan Tooker <jonathan.tooker@netprotect.com>
Diffstat (limited to 'device/conn_linux.go')
-rw-r--r-- | device/conn_linux.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/device/conn_linux.go b/device/conn_linux.go index f74ad51..dafaf31 100644 --- a/device/conn_linux.go +++ b/device/conn_linux.go @@ -145,7 +145,7 @@ func CreateBind(port uint16, device *Device) (*nativeBind, uint16, error) { go bind.routineRouteListener(device) - // attempt ipv6 bind, update port if succesful + // attempt ipv6 bind, update port if successful bind.sock6, newPort, err = create6(port) if err != nil { @@ -157,7 +157,7 @@ func CreateBind(port uint16, device *Device) (*nativeBind, uint16, error) { port = newPort } - // attempt ipv4 bind, update port if succesful + // attempt ipv4 bind, update port if successful bind.sock4, newPort, err = create4(port) if err != nil { @@ -541,7 +541,7 @@ func send6(sock int, end *NativeEndpoint, buff []byte) error { func receive4(sock int, buff []byte, end *NativeEndpoint) (int, error) { - // contruct message header + // construct message header var cmsg struct { cmsghdr unix.Cmsghdr @@ -573,7 +573,7 @@ func receive4(sock int, buff []byte, end *NativeEndpoint) (int, error) { func receive6(sock int, buff []byte, end *NativeEndpoint) (int, error) { - // contruct message header + // construct message header var cmsg struct { cmsghdr unix.Cmsghdr |