diff options
Diffstat (limited to 'tun/tun.go')
-rw-r--r-- | tun/tun.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -28,7 +28,7 @@ type TUNDevice interface { Close() error // stops the device and closes the event channel } -func (tun *nativeTun) operateOnFd(fn func(fd uintptr)) { +func (tun *NativeTun) operateOnFd(fn func(fd uintptr)) { sysconn, err := tun.tunFile.SyscallConn() if err != nil { tun.errors <- fmt.Errorf("unable to find sysconn for tunfile: %s", err.Error()) |