]> git.ipfire.org Git - thirdparty/wireguard-go.git/commitdiff
ipc: add comment about socketDirectory linker override on android
authorDavid Crawshaw <crawshaw@tailscale.com>
Mon, 22 Jun 2020 00:41:19 +0000 (10:41 +1000)
committerDavid Crawshaw <crawshaw@tailscale.com>
Mon, 22 Jun 2020 00:41:19 +0000 (10:41 +1000)
Signed-off-by: David Crawshaw <crawshaw@tailscale.com>
ipc/uapi_unix.go

index 2e0813ee85fcd9ab30bfbab24e80cd30fa31e14f..510ab313d689e168f32b8c7c31bbec9678695142 100644 (file)
@@ -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 {