From b94e3ced7aa185d50257007772ca396083e48b7f Mon Sep 17 00:00:00 2001 From: Felix Yan <felixonmars@archlinux.org> Date: Wed, 9 Oct 2019 06:06:47 +0800 Subject: [PATCH] Correct a typo in port.go --- common/net/port.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/net/port.go b/common/net/port.go index 69368509..e5f5cd34 100644 --- a/common/net/port.go +++ b/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) }