This commit is contained in:
nickname32
2020-09-03 18:18:00 +03:00
parent 643e6332e3
commit 9270a000de

View File

@@ -90,6 +90,7 @@ func (f *Forwarder) Connect(id string) (listenip string, cancel context.CancelFu
break
}
if lIPk == -1 {
return "", nil, ErrMaxConnections
}
listenip = "127.0.89." + strconv.Itoa(lIPk)
listenIPksMux.Unlock()