mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-03 08:23:04 +00:00
Correct a typo in port.go
This commit is contained in:
1 parent
e9f53059b1
commit
b94e3ced7a
1 file changed
+1
-1
+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