mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-30 05:56:54 -05:00
Merge pull request #1933 from felixonmars/patch-2
Correct a typo in port.go
This commit is contained in:
commit
501b704719
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user