summaryrefslogtreecommitdiffhomepage
path: root/ipc/uapi_windows.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-08-31 07:48:42 -0600
committerJason A. Donenfeld <Jason@zx2c4.com>2019-08-31 07:48:42 -0600
commit7937840f9631fbaaab33bdbad67040b28f5d0387 (patch)
tree0123999cc47187716d2abbfb3929b6f577f91ce4 /ipc/uapi_windows.go
parente4b957183c4a330f020f5188f3b30b59355efb80 (diff)
ipc: windows: use protected prefix
Diffstat (limited to 'ipc/uapi_windows.go')
-rw-r--r--ipc/uapi_windows.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipc/uapi_windows.go b/ipc/uapi_windows.go
index 4073c97..784b2a8 100644
--- a/ipc/uapi_windows.go
+++ b/ipc/uapi_windows.go
@@ -54,7 +54,7 @@ func UAPIListen(name string) (net.Listener, error) {
config := winpipe.PipeConfig{
SecurityDescriptor: UAPISecurityDescriptor,
}
- listener, err := winpipe.ListenPipe("\\\\.\\pipe\\WireGuard\\"+name, &config)
+ listener, err := winpipe.ListenPipe(`\\.\pipe\ProtectedPrefix\Administrators\WireGuard\`+name, &config)
if err != nil {
return nil, err
}