main: revise warnings

This commit is contained in:
Jason A. Donenfeld
2019-04-19 07:48:09 +09:00
parent d3dd991e4e
commit d9078fe772
2 changed files with 17 additions and 25 deletions

View File

@@ -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),