summaryrefslogtreecommitdiffhomepage
path: root/tun
diff options
context:
space:
mode:
Diffstat (limited to 'tun')
-rw-r--r--tun/tun_linux.go2
-rw-r--r--tun/wintun/setupapi/types_windows.go2
2 files changed, 2 insertions, 2 deletions
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