diff --git a/acls.go b/acls.go index 799db95..f3ff11f 100644 --- a/acls.go +++ b/acls.go @@ -23,7 +23,7 @@ const ( errInvalidGroup = Error("invalid group") errInvalidTag = Error("invalid tag") errInvalidPortFormat = Error("invalid port format") - errWildcardIsNeeded = Error("wildcard as port is required for the procotol") + errWildcardIsNeeded = Error("wildcard as port is required for the protocol") ) const ( @@ -267,7 +267,7 @@ func parseProtocol(protocol string) ([]int, bool, error) { if err != nil { return nil, false, err } - needsWildcard := protocolNumber != 6 && protocolNumber != 17 && protocolNumber != 132 + needsWildcard := protocolNumber != 6 && protocolNumber != 17 && protocolNumber != 132 // nolint return []int{protocolNumber}, needsWildcard, nil }