From f7d0edd2ecf5f7f5aed188823de0a122691a7de6 Mon Sep 17 00:00:00 2001 From: Jonathan Tooker Date: Mon, 21 Oct 2019 15:52:26 -0500 Subject: global: fix a few typos courtesy of codespell Signed-off-by: Jonathan Tooker --- tun/tun_linux.go | 2 +- tun/wintun/setupapi/types_windows.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tun') diff --git a/tun/tun_linux.go b/tun/tun_linux.go index 61902e9..36b43ea 100644 --- a/tun/tun_linux.go +++ b/tun/tun_linux.go @@ -35,7 +35,7 @@ type NativeTun struct { name string // name of interface errors chan error // async error handling events chan Event // device related events - nopi bool // the device was pased IFF_NO_PI + nopi bool // the device was passed IFF_NO_PI netlinkSock int netlinkCancel *rwcancel.RWCancel hackListenerClosed sync.Mutex diff --git a/tun/wintun/setupapi/types_windows.go b/tun/wintun/setupapi/types_windows.go index 136b4be..239d80b 100644 --- a/tun/wintun/setupapi/types_windows.go +++ b/tun/wintun/setupapi/types_windows.go @@ -57,7 +57,7 @@ type DevInfoData struct { _ uintptr } -// DevInfoListDetailData is a structure for detailed information on a device information set (used for SetupDiGetDeviceInfoListDetail which supercedes the functionality of SetupDiGetDeviceInfoListClass). +// DevInfoListDetailData is a structure for detailed information on a device information set (used for SetupDiGetDeviceInfoListDetail which supersedes the functionality of SetupDiGetDeviceInfoListClass). type DevInfoListDetailData struct { size uint32 // Warning: unsafe.Sizeof(DevInfoListDetailData) > sizeof(SP_DEVINFO_LIST_DETAIL_DATA) when GOARCH == 386 => use sizeofDevInfoListDetailData const. ClassGUID windows.GUID -- cgit v1.2.3