diff options
Diffstat (limited to 'rpc/ipc_unix.go')
-rw-r--r-- | rpc/ipc_unix.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/ipc_unix.go b/rpc/ipc_unix.go index 310286e96..9ece01240 100644 --- a/rpc/ipc_unix.go +++ b/rpc/ipc_unix.go @@ -41,5 +41,5 @@ func ipcListen(endpoint string) (net.Listener, error) { // newIPCConnection will connect to a Unix socket on the given endpoint. func newIPCConnection(endpoint string) (net.Conn, error) { - return net.DialUnix("unix", nil, &net.UnixAddr{endpoint, "unix"}) + return net.DialUnix("unix", nil, &net.UnixAddr{Name: endpoint, Net: "unix"}) } |