mirror of
https://github.com/tailscale/tailscale.git
synced 2025-01-05 14:57:49 +00:00
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:
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…
x
Reference in New Issue
Block a user