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

Updates #cleanup

Signed-off-by: Jordan Whited <jordan@tailscale.com>
This commit is contained in:
Jordan Whited
2024-07-12 09:28:35 -07:00
committed by GitHub
parent 3f3edeec07
commit f0b9d3f477

View File

@@ -783,7 +783,7 @@ func (pc *peerConfigTable) outboundPacketIsJailed(p *packet.Parsed) bool {
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) {
cfg := peerConfigTableFromWGConfig(wcfg)