diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-05-23 14:53:44 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-05-23 15:16:02 +0200 |
commit | a74a29bc937cf75c1af4166e746df49ef53b2fc2 (patch) | |
tree | 1d9c3ad1ca48fa370fd25b3a86007ec70466be4e /ipc/uapi_windows.go | |
parent | dc9bbec9dbca1daff8265b6e6da6b36185e74660 (diff) |
ipc: use simplified fork of winio
Diffstat (limited to 'ipc/uapi_windows.go')
-rw-r--r-- | ipc/uapi_windows.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ipc/uapi_windows.go b/ipc/uapi_windows.go index b3aeb26..981c7b9 100644 --- a/ipc/uapi_windows.go +++ b/ipc/uapi_windows.go @@ -8,7 +8,7 @@ package ipc import ( "net" - "github.com/Microsoft/go-winio" + "golang.zx2c4.com/wireguard/ipc/winpipe" ) //TODO: replace these with actual standard windows error numbers from the win package @@ -59,10 +59,10 @@ func GetSystemSecurityDescriptor() string { } func UAPIListen(name string) (net.Listener, error) { - config := winio.PipeConfig{ + config := winpipe.PipeConfig{ SecurityDescriptor: GetSystemSecurityDescriptor(), } - listener, err := winio.ListenPipe("\\\\.\\pipe\\WireGuard\\"+name, &config) + listener, err := winpipe.ListenPipe("\\\\.\\pipe\\WireGuard\\"+name, &config) if err != nil { return nil, err } |