mirror of
https://github.com/amnezia-vpn/amneziawg-go.git
synced 2025-04-14 04:56:55 +02:00
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
1 changed files with 2 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue