From 000f90d4d7d86d323c3a0e2c4c54b28db04833d5 Mon Sep 17 00:00:00 2001 From: Evan Anderson Date: Sat, 4 Sep 2021 17:10:17 -0700 Subject: [PATCH] wgengine/wglog: Fix docstring on wireguardGoString to match args @danderson linked this on Twitter and I noticed the mismatch. Signed-off-by: Evan Anderson --- wgengine/wglog/wglog.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wgengine/wglog/wglog.go b/wgengine/wglog/wglog.go index f23b7973a..8b27e05d5 100644 --- a/wgengine/wglog/wglog.go +++ b/wgengine/wglog/wglog.go @@ -118,7 +118,7 @@ func (x *Logger) SetPeers(peers []wgcfg.Peer) { x.replace.Store(replace) } -// wireguardGoString prints p in the same format used by wireguard-go. +// wireguardGoString prints k in the same format used by wireguard-go. func wireguardGoString(k wgkey.Key) string { src := k b64 := func(input byte) byte {