summaryrefslogtreecommitdiffhomepage
path: root/tun/wintun
diff options
context:
space:
mode:
Diffstat (limited to 'tun/wintun')
-rw-r--r--tun/wintun/wintun_windows.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tun/wintun/wintun_windows.go b/tun/wintun/wintun_windows.go
index 811f53d..aea4ad1 100644
--- a/tun/wintun/wintun_windows.go
+++ b/tun/wintun/wintun_windows.go
@@ -168,7 +168,7 @@ func GetInterface(ifname string, hwndParent uintptr) (*Wintun, error) {
}
}
- return nil, nil
+ return nil, windows.ERROR_OBJECT_NOT_FOUND
}
//