aboutsummaryrefslogtreecommitdiffstats
path: root/donotuseon_linux.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-05-23 03:17:51 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-05-23 05:18:13 +0200
commit588b9f01ae1ac81844b52c095c9abcd9326d35a3 (patch)
tree26031461215b1b355971d1590bc0b946ed814f7e /donotuseon_linux.go
parentRemove more windows cruft (diff)
downloadwireguard-go-588b9f01ae1ac81844b52c095c9abcd9326d35a3.tar.xz
wireguard-go-588b9f01ae1ac81844b52c095c9abcd9326d35a3.zip
Adopt GOPATH
GOPATH is annoying, but the Go community pushing me to adopt it is even more annoying.
Diffstat (limited to 'donotuseon_linux.go')
-rw-r--r--donotuseon_linux.go15
1 files changed, 15 insertions, 0 deletions
diff --git a/donotuseon_linux.go b/donotuseon_linux.go
new file mode 100644
index 0000000..7197375
--- /dev/null
+++ b/donotuseon_linux.go
@@ -0,0 +1,15 @@
+// +build !android
+
+/* SPDX-License-Identifier: GPL-2.0
+ *
+ * Copyright (C) 2017-2018 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
+ */
+
+package main
+
+const DoNotUseThisProgramOnLinux = UseTheKernelModuleInstead
+
+// --------------------------------------------------------
+// Do not use this on Linux. Instead use the kernel module.
+// See wireguard.com/install for more information.
+// --------------------------------------------------------