all: fix more typos caused by unnecessary repetition
Updates #cleanup Change-Id: I5c0b8f0152581231252ab97dd1820d8b3fcbe450 Signed-off-by: Alex Chan <alexc@tailscale.com>
This commit is contained in:
@@ -119,7 +119,7 @@ func parseProtoPortRange(ipProtoPort string) (*ProtoPortRange, error) {
|
||||
}
|
||||
|
||||
// ParseHostPortRange parses hostport as HOST:PORTS where HOST is
|
||||
// returned unchanged and PORTS is is either "*" or PORTLOW-PORTHIGH ranges.
|
||||
// returned unchanged and PORTS is either "*" or PORTLOW-PORTHIGH ranges.
|
||||
func ParseHostPortRange(hostport string) (host string, ports PortRange, err error) {
|
||||
hostport = strings.ToLower(hostport)
|
||||
colon := strings.LastIndexByte(hostport, ':')
|
||||
|
||||
Reference in New Issue
Block a user