Browse Source

Correct a typo in port.go

Felix Yan 6 years ago
parent
commit
b94e3ced7a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      common/net/port.go

+ 1 - 1
common/net/port.go

@@ -33,7 +33,7 @@ func PortFromString(s string) (Port, error) {
 	return PortFromInt(uint32(val))
 	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 {
 func (p Port) Value() uint16 {
 	return uint16(p)
 	return uint16(p)
 }
 }