net/tstun: fix docstring for Wrapper.SetWGConfig (#12796)

Updates #cleanup

Signed-off-by: Jordan Whited <jordan@tailscale.com>
pull/12799/head
Jordan Whited 4 months ago committed by GitHub
parent 3f3edeec07
commit f0b9d3f477
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -783,7 +783,7 @@ func (pc *peerConfigTable) outboundPacketIsJailed(p *packet.Parsed) bool {
return c.jailed return c.jailed
} }
// SetNetMap is called when a new NetworkMap is received. // SetWGConfig is called when a new NetworkMap is received.
func (t *Wrapper) SetWGConfig(wcfg *wgcfg.Config) { func (t *Wrapper) SetWGConfig(wcfg *wgcfg.Config) {
cfg := peerConfigTableFromWGConfig(wcfg) cfg := peerConfigTableFromWGConfig(wcfg)

Loading…
Cancel
Save