From 5d559141d53c0f8941759f9e9f2b319a84b24177 Mon Sep 17 00:00:00 2001 From: Kris Brandow Date: Thu, 18 Aug 2022 18:31:04 -0400 Subject: [PATCH] wgengine/magicsock: remove mention of Start The Start method was removed in 4c27e2fa22, but the comment on NewConn still mentioned it doesn't do anything until this method is called. Signed-off-by: Kris Brandow --- wgengine/magicsock/magicsock.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/wgengine/magicsock/magicsock.go b/wgengine/magicsock/magicsock.go index 8e71570ee..ac9d6cdc4 100644 --- a/wgengine/magicsock/magicsock.go +++ b/wgengine/magicsock/magicsock.go @@ -538,8 +538,6 @@ func newConn() *Conn { // NewConn creates a magic Conn listening on opts.Port. // As the set of possible endpoints for a Conn changes, the // callback opts.EndpointsFunc is called. -// -// It doesn't start doing anything until Start is called. func NewConn(opts Options) (*Conn, error) { c := newConn() c.port.Store(uint32(opts.Port))