From: David Crawshaw Date: Mon, 22 Jun 2020 00:41:19 +0000 (+1000) Subject: ipc: add comment about socketDirectory linker override on android X-Git-Tag: 0.0.20201118~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dfb28757f799e02840e8939ca739107f2560f53f;p=thirdparty%2Fwireguard-go.git ipc: add comment about socketDirectory linker override on android Signed-off-by: David Crawshaw --- 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 {