summaryrefslogtreecommitdiffhomepage
path: root/uapi_linux.go
diff options
context:
space:
mode:
Diffstat (limited to 'uapi_linux.go')
-rw-r--r--uapi_linux.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/uapi_linux.go b/uapi_linux.go
index 0cb2924..7e6e7f8 100644
--- a/uapi_linux.go
+++ b/uapi_linux.go
@@ -16,12 +16,13 @@ import (
"path"
)
+var socketDirectory = "/var/run/wireguard"
+
const (
ipcErrorIO = -int64(unix.EIO)
ipcErrorProtocol = -int64(unix.EPROTO)
ipcErrorInvalid = -int64(unix.EINVAL)
ipcErrorPortInUse = -int64(unix.EADDRINUSE)
- socketDirectory = "/var/run/wireguard"
socketName = "%s.sock"
)