mirror of
https://github.com/nickname76/p2p-forwarder.git
synced 2025-09-26 19:51:18 +08:00
oops
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user