mirror of
https://git.zx2c4.com/wireguard-go
synced 2025-09-18 20:57:50 +02:00
wintun: never return nil, nil
This commit is contained in:
parent
a74a29bc93
commit
8fdcf5ee30
@ -168,7 +168,7 @@ func GetInterface(ifname string, hwndParent uintptr) (*Wintun, error) {
|
||||
}
|
||||
}
|
||||
|
||||
return nil, nil
|
||||
return nil, windows.ERROR_OBJECT_NOT_FOUND
|
||||
}
|
||||
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user