From f0b9d3f477bf4c03f4377d240dea21c383c2570a Mon Sep 17 00:00:00 2001 From: Jordan Whited Date: Fri, 12 Jul 2024 09:28:35 -0700 Subject: [PATCH] net/tstun: fix docstring for Wrapper.SetWGConfig (#12796) Updates #cleanup Signed-off-by: Jordan Whited --- net/tstun/wrap.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/tstun/wrap.go b/net/tstun/wrap.go index ba7f7a150..8ea73b4b2 100644 --- a/net/tstun/wrap.go +++ b/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)