Browse Source

Correct a typo in port.go

pull/1933/head
Felix Yan 5 years ago committed by GitHub
parent
commit
b94e3ced7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      common/net/port.go

2
common/net/port.go

@ -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…
Cancel
Save