summaryrefslogtreecommitdiff
path: root/sysdep/unix/wg_user.h
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2020-05-11 22:54:27 +0200
committerMikael Magnusson <mikma@users.sourceforge.net>2020-05-11 22:54:27 +0200
commit9d93bc7e728b6fb098161a04160e7bd2798ffc01 (patch)
treeea025aace6c2336396990aa96abaad742582d590 /sysdep/unix/wg_user.h
parent6b3e5c45c43c75484a8d731013b380a58e90ca54 (diff)
WIP Use abstract unix sockets on Android
Diffstat (limited to 'sysdep/unix/wg_user.h')
-rw-r--r--sysdep/unix/wg_user.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdep/unix/wg_user.h b/sysdep/unix/wg_user.h
index 6ecceecb..dc15fdf2 100644
--- a/sysdep/unix/wg_user.h
+++ b/sysdep/unix/wg_user.h
@@ -3,7 +3,9 @@
#include "sysdep/config.h"
-#define SOCKET_PATH PATH_RUNSTATEDIR "/"
+#ifndef SOCKET_PATH
+#define SOCKET_PATH PATH_RUNSTATEDIR "/wireguard/"
+#endif SOCKET_PATH
struct pool;
struct wg_device;