diff --git a/tunnel/default.go b/tunnel/default.go index 860b6a96..2d012dff 100644 --- a/tunnel/default.go +++ b/tunnel/default.go @@ -856,6 +856,8 @@ func (t *tun) Dial(channel string, opts ...DialOption) (Session, error) { t.RUnlock() // discovered so set the link + // TODO: pick the link efficiently based + // on link status and saturation. if c.discovered { // set the link i := rand.Intn(len(links))