diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-03-05 15:15:18 -0700 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-03-05 16:05:13 -0700 |
commit | 31e0fd9fbe7b01fd79cc96451eab72022cdef857 (patch) | |
tree | 2154bc4e5a7e9db50e5f24a3b49078f168c26d7e /manager/ipc_uapi.go | |
parent | ringlogger: trim lines that are too wide (diff) | |
download | wireguard-windows-31e0fd9fbe7b01fd79cc96451eab72022cdef857.tar.xz wireguard-windows-31e0fd9fbe7b01fd79cc96451eab72022cdef857.zip |
manager: use new DialConfig struct for pipe
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '')
-rw-r--r-- | manager/ipc_uapi.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/manager/ipc_uapi.go b/manager/ipc_uapi.go index fb3eabc1..85477125 100644 --- a/manager/ipc_uapi.go +++ b/manager/ipc_uapi.go @@ -48,7 +48,7 @@ func connectTunnelServicePipe(tunnelName string) (*connectedTunnel, error) { return nil, err } pipe = &connectedTunnel{} - pipe.Conn, err = winpipe.Dial(pipePath, nil, localSystem) + pipe.Conn, err = winpipe.Dial(pipePath, nil, &winpipe.DialConfig{ExpectedOwner: localSystem}) if err != nil { return nil, err } |