mirror of
https://github.com/ehang-io/nps.git
synced 2025-07-03 13:10:42 +00:00
Secret mode add bug
This commit is contained in:
parent
01fca7d568
commit
0492268190
@ -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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user