summaryrefslogtreecommitdiffhomepage
path: root/main_windows.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-04-19 07:48:09 +0900
committerJason A. Donenfeld <Jason@zx2c4.com>2019-04-19 07:48:09 +0900
commitd9078fe772e8314f435c554d8f9b05ddfb0db9bf (patch)
tree42c65fe0dfe7b2c41709f8045f82dd7d999818c4 /main_windows.go
parentd3dd991e4e6f670c5daba9ba81aaa226b85eb200 (diff)
main: revise warnings
Diffstat (limited to 'main_windows.go')
-rw-r--r--main_windows.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/main_windows.go b/main_windows.go
index 2bb4c0e..4954adc 100644
--- a/main_windows.go
+++ b/main_windows.go
@@ -27,6 +27,8 @@ func main() {
}
interfaceName := os.Args[1]
+ fmt.Fprintln(os.Stderr, "Warning: this is a test program for Windows, mainly used for debugging this Go package. For a real WireGuard for Windows client, the repo you want is <https://git.zx2c4.com/wireguard-windows/>, which includes this code as a module.")
+
logger := device.NewLogger(
device.LogLevelDebug,
fmt.Sprintf("(%s) ", interfaceName),