summaryrefslogtreecommitdiffhomepage
path: root/ipc
diff options
context:
space:
mode:
Diffstat (limited to 'ipc')
-rw-r--r--ipc/uapi_unix.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/ipc/uapi_unix.go b/ipc/uapi_unix.go
index 2e0813e..510ab31 100644
--- a/ipc/uapi_unix.go
+++ b/ipc/uapi_unix.go
@@ -23,6 +23,8 @@ const (
IpcErrorPortInUse = -int64(unix.EADDRINUSE)
)
+// socketDirectory is variable because it is modified by a linker
+// flag in wireguard-android.
var socketDirectory = "/var/run/wireguard"
func sockPath(iface string) string {