Exit bug、web display

This commit is contained in:
刘河
2019-04-20 10:45:04 +08:00
parent 89f1e72c50
commit 45521d5680
4 changed files with 7 additions and 5 deletions

View File

@@ -242,7 +242,7 @@ func GetTunnel(start, length int, typeVal string, clientId int, search string) (
v.Client.IsConnect = false
}
if start--; start < 0 {
if length--; length > 0 {
if length--; length >= 0 {
if _, ok := RunList[v.Id]; ok {
v.RunStatus = true
} else {