summaryrefslogtreecommitdiffhomepage
path: root/donotuseon_linux.go
diff options
context:
space:
mode:
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.
+// --------------------------------------------------------