wgengine/wglog: Fix docstring on wireguardGoString to match args

@danderson linked this on Twitter and I noticed the mismatch.

Signed-off-by: Evan Anderson <evan.k.anderson@gmail.com>
This commit is contained in:
Evan Anderson 2021-09-04 17:10:17 -07:00 committed by Dave Anderson
parent 69c897a763
commit 000f90d4d7

View File

@ -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 {