ipc: add comment about socketDirectory linker override on android
Signed-off-by: David Crawshaw <crawshaw@tailscale.com>
This commit is contained in:
parent
00bcd865e6
commit
dfb28757f7
|
@ -23,6 +23,8 @@ const (
|
||||||
IpcErrorPortInUse = -int64(unix.EADDRINUSE)
|
IpcErrorPortInUse = -int64(unix.EADDRINUSE)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// socketDirectory is variable because it is modified by a linker
|
||||||
|
// flag in wireguard-android.
|
||||||
var socketDirectory = "/var/run/wireguard"
|
var socketDirectory = "/var/run/wireguard"
|
||||||
|
|
||||||
func sockPath(iface string) string {
|
func sockPath(iface string) string {
|
||||||
|
|
Loading…
Reference in a new issue