Merge pull request #1933 from felixonmars/patch-2

Correct a typo in port.go
pull/1940/head
Kslr 2019-10-09 08:10:10 +08:00 committed by GitHub
commit 501b704719
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}