mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-25 11:05:45 +00:00
net/tstun: fix docstring for Wrapper.SetWGConfig (#12796)
Updates #cleanup Signed-off-by: Jordan Whited <jordan@tailscale.com>
This commit is contained in:
parent
3f3edeec07
commit
f0b9d3f477
@ -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…
Reference in New Issue
Block a user