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>
pull/2805/head
Evan Anderson 3 years ago committed by Dave Anderson
parent 69c897a763
commit 000f90d4d7

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

Loading…
Cancel
Save