fixed streams with zero port being served

This commit is contained in:
yusing
2024-10-02 14:01:36 +08:00
parent ba13b81b0e
commit a7a922308e
2 changed files with 5 additions and 6 deletions

View File

@@ -33,9 +33,8 @@ func (p Port) String() string {
}
const (
MinPort = 0
MaxPort = 65535
ErrPort = Port(-1)
NoPort = Port(-1)
ZeroPort = Port(0)
MinPort = 0
MaxPort = 65535
ErrPort = Port(-1)
NoPort = Port(0)
)