Secret mode add bug

pull/59/head
刘河 2019-02-25 20:25:23 +08:00
parent 01fca7d568
commit 0492268190
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ func init() {
} }
func TestServerPort(p int, m string) (b bool) { func TestServerPort(p int, m string) (b bool) {
if p > 65535 || p <= 0 { if p > 65535 || p < 0 {
return false return false
} }
if len(ports) != 0 { if len(ports) != 0 {