ipc: add comment about socketDirectory linker override on android

Signed-off-by: David Crawshaw <crawshaw@tailscale.com>
This commit is contained in:
David Crawshaw 2020-06-22 10:41:19 +10:00
parent 00bcd865e6
commit dfb28757f7
1 changed files with 2 additions and 0 deletions

View 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 {