mirror of
https://github.com/v2fly/v2ray-core
synced 2024-02-27 03:18:06 +00:00
Correct a typo in port.go
This commit is contained in:
+1
-1
@@ -33,7 +33,7 @@ func PortFromString(s string) (Port, error) {
|
||||
return PortFromInt(uint32(val))
|
||||
}
|
||||
|
||||
// Value return the correspoding uint16 value of a Port.
|
||||
// Value return the corresponding uint16 value of a Port.
|
||||
func (p Port) Value() uint16 {
|
||||
return uint16(p)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user