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

Updates #cleanup

Signed-off-by: Jordan Whited <jordan@tailscale.com>
main
Jordan Whited 2 years ago committed by GitHub
parent 3f3edeec07
commit f0b9d3f477
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      net/tstun/wrap.go

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

Loading…
Cancel
Save