diff --git a/src/bin/d2/d2_config.cc b/src/bin/d2/d2_config.cc index 5155a9736d58ee2deba87f7ce6acac10be051024..c62afb542634556fc3c4a30346b9303cb28d1146 100644 --- a/src/bin/d2/d2_config.cc +++ b/src/bin/d2/d2_config.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2013-2016 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2013-2017 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -130,7 +130,7 @@ operator<<(std::ostream& os, const D2Params& config) { } // *********************** TSIGKeyInfo ************************* -// Note these values match correpsonding values for Bind9's +// Note these values match corresponding values for Bind9's // dnssec-keygen const char* TSIGKeyInfo::HMAC_MD5_STR = "HMAC-MD5"; const char* TSIGKeyInfo::HMAC_SHA1_STR = "HMAC-SHA1"; diff --git a/src/bin/d2/d2_config.h b/src/bin/d2/d2_config.h index 5b9fa9f660ba3535ef537b9c7b4489d0b500d55f..ce09c2d8b56c4203067ab2b6563631434f583acc 100644 --- a/src/bin/d2/d2_config.h +++ b/src/bin/d2/d2_config.h @@ -538,7 +538,7 @@ public: /// /// @param name is the domain name of the domain. /// @param servers is the list of server(s) supporting this domain. - /// @param tsig_key_info pointer to the TSIGKeyInfo for the dommain's key + /// @param tsig_key_info pointer to the TSIGKeyInfo for the domain's key /// It defaults to an empty pointer, signifying the domain has no key. DdnsDomain(const std::string& name, DnsServerInfoStoragePtr servers, diff --git a/src/bin/d2/d2_process.cc b/src/bin/d2/d2_process.cc index a8a0022237a493866c33710a5fe7a569aab76d03..e4089024c5a519b2bf993bdd0256dd7797615384 100644 --- a/src/bin/d2/d2_process.cc +++ b/src/bin/d2/d2_process.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2013-2016 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2013-2017 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -243,7 +243,7 @@ D2Process::checkQueueStatus() { : "shutdown"); queue_mgr_->stopListening(); } catch (const isc::Exception& ex) { - // It is very unlikey that we would experience an error + // It is very unlikely that we would experience an error // here, but theoretically possible. LOG_ERROR(d2_logger, DHCP_DDNS_QUEUE_MGR_STOP_ERROR) .arg(ex.what()); diff --git a/src/bin/d2/d2_process.h b/src/bin/d2/d2_process.h index dd0794d194a3fd16d38dd97d95da6942491e44f7..cddc67df6f947178676cd233cd0f9ff885ddf53e 100644 --- a/src/bin/d2/d2_process.h +++ b/src/bin/d2/d2_process.h @@ -66,7 +66,7 @@ public: /// This is invoked by the controller after command line arguments but /// PRIOR to configuration reception. The base class provides this method /// as a place to perform any derivation-specific initialization steps - /// that are inapppropriate for the constructor but necessary prior to + /// that are inappropriate for the constructor but necessary prior to /// launch. So far, no such steps have been identified for D2, so its /// implementation is empty but required. /// diff --git a/src/bin/d2/d2_queue_mgr.cc b/src/bin/d2/d2_queue_mgr.cc index ba9676df713ef643ff7969809200fbf1542438da..f6922f806456ed721cdef386850f6a63360c8d3f 100644 --- a/src/bin/d2/d2_queue_mgr.cc +++ b/src/bin/d2/d2_queue_mgr.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2013-2016 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2013-2017 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -153,7 +153,7 @@ D2QueueMgr::stopListening(const State target_stop_state) { << target_stop_state); } - // Remember the state we want to acheive. + // Remember the state we want to achieve. target_stop_state_ = target_stop_state; // Instruct the listener to stop. If the listener reports that it diff --git a/src/bin/d2/d2_update_message.cc b/src/bin/d2/d2_update_message.cc index a9b0613d51b956143bc835a4c4e743d9c912550e..a0076f29dd6f01e15e86669c07263d53c483de08 100644 --- a/src/bin/d2/d2_update_message.cc +++ b/src/bin/d2/d2_update_message.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2013-2015 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2013-2015,2017 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -128,7 +128,7 @@ D2UpdateMessage::fromWire(const void* received_data, size_t bytes_received, isc::util::InputBuffer received_data_buffer(received_data, bytes_received); message_.fromWire(received_data_buffer); - // If tsig_contex is not NULL, then we need to verify the message. + // If tsig_context is not NULL, then we need to verify the message. if (tsig_context) { TSIGError error = tsig_context->verify(message_.getTSIGRecord(), received_data, bytes_received); diff --git a/src/bin/d2/dns_client.cc b/src/bin/d2/dns_client.cc index 1891135ac35329ff63087e089ecad6703ce2ce6e..c2bf694c4f0660b98af542db4c9a62a8373224a5 100644 --- a/src/bin/d2/dns_client.cc +++ b/src/bin/d2/dns_client.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2013-2015 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2013-2015,2017 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -46,7 +46,7 @@ public: // received. This allows a single DNSClientImpl instance to be used for // multiple, sequential IOFetch calls. (@todo Trac# 3286 has been opened // against dns::Message::fromWire. Should the behavior of fromWire change - // the behavior here with could be rexamined). + // the behavior here with could be reexamined). D2UpdateMessagePtr& response_; // A caller-supplied external callback which is invoked when DNS message // exchange is complete or interrupted. diff --git a/src/bin/d2/dns_client.h b/src/bin/d2/dns_client.h index 0d707036a6a1af3c4d2947dd1a6a8709e80fdb82..2f3b55f2609658975c4485e8d8e48dd6abc2fa59 100644 --- a/src/bin/d2/dns_client.h +++ b/src/bin/d2/dns_client.h @@ -1,4 +1,4 @@ -// Copyright (C) 2013-2015 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2013-2015,2017 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -85,7 +85,7 @@ public: /// @brief Constructor. /// - /// @param response_placeholder Messge object pointer which will be updated + /// @param response_placeholder Message object pointer which will be updated /// with dynamically allocated object holding the DNS server's response. /// @param callback Pointer to an object implementing @c DNSClient::Callback /// class. This object will be called when DNS message exchange completes or diff --git a/src/bin/d2/nc_trans.h b/src/bin/d2/nc_trans.h index f8b11b3e80143dba5369d5bd1b102fbf3dea63c4..014e04d6bc2adff64370903b397b9d75886809c1 100644 --- a/src/bin/d2/nc_trans.h +++ b/src/bin/d2/nc_trans.h @@ -144,7 +144,7 @@ public: static const int NCT_DERIVED_EVENT_MIN = SM_DERIVED_EVENT_MIN + 101; //@} - /// @brief Default time to assign to a single DNS udpate. + /// @brief Default time to assign to a single DNS update. /// @todo This value will be made configurable in the very near future /// under trac3268. For now we will define it to 100 milliseconds /// so unit tests will run within a reasonable amount of time. @@ -289,7 +289,7 @@ protected: void setDnsUpdateRequest(D2UpdateMessagePtr& request); /// @brief Destroys the current update request packet and resets - /// udpate attempts count. + /// update attempts count. void clearDnsUpdateRequest(); /// @brief Sets the update status to the given status value. diff --git a/src/bin/keactrl/keactrl.in b/src/bin/keactrl/keactrl.in index 78ed259c98684e42bfffa81bcdf7c2956a3dd366..7aac70fbb8fbb7edc0136c692f6757808f867225 100644 --- a/src/bin/keactrl/keactrl.in +++ b/src/bin/keactrl/keactrl.in @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright (C) 2014-2015 Internet Systems Consortium, Inc. ("ISC") +# Copyright (C) 2014-2015,2017 Internet Systems Consortium, Inc. ("ISC") # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this @@ -57,7 +57,7 @@ usage() { } ### Functions managing Kea processes ### -# Contructs a server's PID file based on its binary name, the config file, +# Constructs a server's PID file based on its binary name, the config file, # and the --localstatedir and returns the contents as $_pid. If the file # does not exist, the value of $_pid is 0. If the file exists but cannot # be read the function exists with a error message. Note the PID file name diff --git a/src/bin/lfc/lfc_controller.cc b/src/bin/lfc/lfc_controller.cc index d8fcd9d1aceea4fc7bcc84d4090fc9058195d194..844781453c7d24603aa5c0e3cf7dccfbb804bc9f 100644 --- a/src/bin/lfc/lfc_controller.cc +++ b/src/bin/lfc/lfc_controller.cc @@ -311,7 +311,7 @@ LFCController::usage(const std::string& text) { << " -f : finish file" << std::endl << " -c : configuration file" << std::endl << " -v: print version number and exit" << std::endl - << " -V: print extended version inforamtion and exit" << std::endl + << " -V: print extended version information and exit" << std::endl << " -d: optional, verbose output " << std::endl << " -h: print this message " << std::endl << std::endl; diff --git a/src/bin/lfc/lfc_controller.h b/src/bin/lfc/lfc_controller.h index ff647655bb83efb9562c88b02c1688e8ee2f2469..35168d0d810eb42fc0c638eb3d1715f507e127f3 100644 --- a/src/bin/lfc/lfc_controller.h +++ b/src/bin/lfc/lfc_controller.h @@ -1,4 +1,4 @@ -// Copyright (C) 2015 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2015,2017 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -154,7 +154,7 @@ public: private: /// Version of the DHCP protocol used, i.e. 4 or 6. int protocol_version_; - /// When true output the result of parsing the comamnd line + /// When true output the result of parsing the command line bool verbose_; std::string config_file_; ///< The path to the config file std::string previous_file_; ///< The path to the previous LFC file (if any) diff --git a/src/bin/perfdhcp/command_options.cc b/src/bin/perfdhcp/command_options.cc index 32e8638d1f9b9abe7fc7adad7f1f63ee33adec67..9a195343fd86e065369ad551c983f2b3a25141fc 100644 --- a/src/bin/perfdhcp/command_options.cc +++ b/src/bin/perfdhcp/command_options.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2012-2016 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2012-2017 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -230,7 +230,7 @@ CommandOptions::initialize(int argc, char** argv, bool print_cmd_line) { // agent. In the future we should extend it to up to 32. // See comment in https://github.com/isc-projects/kea/pull/22#issuecomment-243405600 v6_relay_encapsulation_level_ = - static_cast(positiveInteger("-A must" + static_cast(positiveInteger("-A must" " be a positive integer")); if (v6_relay_encapsulation_level_ != 1) { isc_throw(isc::InvalidParameter, "-A only supports 1 at the moment."); @@ -972,7 +972,7 @@ CommandOptions::printCommandLine() const { void CommandOptions::usage() const { std::cout << - "perfdhcp [-hv] [-4|-6] [-A] [-e]" + "perfdhcp [-hv] [-4|-6] [-A] [-e]" " [-r] [-f]\n" " [-F] [-t] [-R] [-b]\n" " [-n] [-p] [-d]\n" @@ -1086,7 +1086,7 @@ CommandOptions::usage() const { " the exchange rate (given by -r). Furthermore the sum of\n" " this value and the renew-rate (given by -f: Specifies that relayed traffic must be\n" + "-A: Specifies that relayed traffic must be\n" " generated. The argument specifies the level of encapsulation, i.e.\n" " how many relay agents are simulated. Currently the only supported\n" " value is 1, which means that the generated\n" diff --git a/src/bin/perfdhcp/perf_pkt6.h b/src/bin/perfdhcp/perf_pkt6.h index c16df58a1fb2a780224f3ecade99c8309eeeaf2a..988dd73144a6820ab182e96e5ab06bea552ac748 100644 --- a/src/bin/perfdhcp/perf_pkt6.h +++ b/src/bin/perfdhcp/perf_pkt6.h @@ -1,4 +1,4 @@ -// Copyright (C) 2012-2015 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2012-2015,2017 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -85,7 +85,7 @@ public: /// \brief Handles limited binary packet parsing for packets with /// custom offsets of options and transaction id /// - /// This methoid handles the parsing of packets that have custom offsets + /// This method handles the parsing of packets that have custom offsets /// of options or transaction ID. Use /// \ref isc::dhcp::Pkt4::addOption to specify which options to parse. /// Options should be of the \ref isc::perfdhcp::LocalizedOption diff --git a/src/bin/perfdhcp/test_control.h b/src/bin/perfdhcp/test_control.h index 342854ee422ddd49c0e3ca1e0c295ce1f4e8c4cd..f50dcc702207334e0a9fd1206ffcc67c9823e861 100644 --- a/src/bin/perfdhcp/test_control.h +++ b/src/bin/perfdhcp/test_control.h @@ -1,4 +1,4 @@ -// Copyright (C) 2012-2016 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2012-2017 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -660,7 +660,7 @@ protected: /// being sent to the server. It collects first packets of each /// type and keeps them around until test finishes. Then they /// are printed to the user. If packet of specified type has - /// been already stored this function perfroms no operation. + /// been already stored this function performs no operation. /// This function does not perform sanity check if packet /// pointer is valid. Make sure it is before calling it. /// @@ -675,7 +675,7 @@ protected: /// being sent to the server. It collects first packets of each /// type and keeps them around until test finishes. Then they /// are printed to the user. If packet of specified type has - /// been already stored this function perfroms no operation. + /// been already stored this function performs no operation. /// This function does not perform sanity check if packet /// pointer is valid. Make sure it is before calling it. /// diff --git a/src/hooks/dhcp/user_chk/pkt_send_co.cc b/src/hooks/dhcp/user_chk/pkt_send_co.cc index c36c83cf1fcf9ccf48bed171a8dcc6be854e42d5..22164c049cabe952312ea9cb63ac15b7db89ace9 100644 --- a/src/hooks/dhcp/user_chk/pkt_send_co.cc +++ b/src/hooks/dhcp/user_chk/pkt_send_co.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2013-2015 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2013-2015,2017 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -259,7 +259,7 @@ void add4Option(Pkt4Ptr& response, uint8_t opt_code, std::string& opt_value) { /// - DOCSIS3_V6_CONFIG_FILE from user property "bootfile" /// - DOCSIS3_V6_TFTP_SERVERS from user property "tftp_server" /// -/// @param response IPv5 reponse packet +/// @param response IPv5 response packet /// @param user User from whom properties are sourced void add6Options(Pkt6Ptr& response, const UserPtr& user) { if (!user) { diff --git a/src/hooks/dhcp/user_chk/user.cc b/src/hooks/dhcp/user_chk/user.cc index 776c8fedc9fc417cd46e0cd9a2227f8125e914ae..64f99fc0f1eeb36daafaa05c0f466a8c8dd46330 100644 --- a/src/hooks/dhcp/user_chk/user.cc +++ b/src/hooks/dhcp/user_chk/user.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2013-2015 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2013-2015,2017 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -38,7 +38,7 @@ UserId::UserId(UserIdType id_type, const std::string & id_str) : // Input is expected to be 2-digits per bytes, no delimiters. std::vector addr_bytes; - // Strip out colon delimeters, decodeHex doesn't like them. + // Strip out colon delimiters, decodeHex doesn't like them. std::string clean_id_str = id_str; std::string::iterator end_pos = std::remove(clean_id_str.begin(), clean_id_str.end(), ':'); diff --git a/src/hooks/dhcp/user_chk/user_file.h b/src/hooks/dhcp/user_chk/user_file.h index 88b68cf8f8e7fb16a3bd4c70b792abadde4b0ea4..513e95acd00cf9ae32b10bf1cd75570039a7fe32 100644 --- a/src/hooks/dhcp/user_chk/user_file.h +++ b/src/hooks/dhcp/user_chk/user_file.h @@ -1,4 +1,4 @@ -// Copyright (C) 2013-2015 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2013-2015,2017 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -43,7 +43,7 @@ public: /// /// Each entry must have a valid entry for "type" and a valid entry or "id". /// -/// If an entry contains duplicate option names, that option will be assigend +/// If an entry contains duplicate option names, that option will be assigned /// the last value found. This is typical JSON behavior. /// Currently, only string option values (i.e. enclosed in quotes) are /// supported. diff --git a/src/hooks/dhcp/user_chk/user_registry.cc b/src/hooks/dhcp/user_chk/user_registry.cc index f4acbf0231a806c272220ca3c38014abed5ff636..c232253b7101ec6d3ee346d9d59130721a205df2 100644 --- a/src/hooks/dhcp/user_chk/user_registry.cc +++ b/src/hooks/dhcp/user_chk/user_registry.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2013-2015 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2013-2015,2017 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -85,7 +85,7 @@ void UserRegistry::refresh() { addUser(user); } } catch (const std::exception& ex) { - // Source was compromsised so restore registry from backup. + // Source was compromised so restore registry from backup. users_ = backup; // Close the source. source_->close(); diff --git a/src/lib/cc/command_interpreter.h b/src/lib/cc/command_interpreter.h index c42f2fd49f55decad6c3c23e2533adaa44d9d5d1..4d5b69df1196ae96a560887b417e949c8cf56595 100644 --- a/src/lib/cc/command_interpreter.h +++ b/src/lib/cc/command_interpreter.h @@ -1,4 +1,4 @@ -// Copyright (C) 2009-2015 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2009-2015,2017 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -73,7 +73,7 @@ isc::data::ConstElementPtr createAnswer(const int status_code, /// @brief Creates a standard config/command level answer message /// /// @param status_code The return code (0 for success) -/// @param status textual represenation of the status (used mostly for errors) +/// @param status textual representation of the status (used mostly for errors) /// @param arg The optional argument for the answer. This can be of /// any Element type. May be NULL. /// @return Standard command/config answer message diff --git a/src/lib/cc/data.cc b/src/lib/cc/data.cc index e78e19e4c4e553cf7ee91fd8ef17635cdea8ec93..a7339232304ceb7d0dab19aeea6bb2a5a3bad8c0 100644 --- a/src/lib/cc/data.cc +++ b/src/lib/cc/data.cc @@ -1078,7 +1078,7 @@ void Element::preprocess(std::istream& in, std::stringstream& out) { line = ""; } - // getline() removes end line charaters. Unfortunately, we need + // getline() removes end line characters. Unfortunately, we need // it for getting the line numbers right (in case we report an // error. out << line; diff --git a/src/lib/cc/data.h b/src/lib/cc/data.h index bf8c50389563e4680621689b00223d33e7facb7d..13e75d7a8b54f76be8deec35899c90a67e4b639a 100644 --- a/src/lib/cc/data.h +++ b/src/lib/cc/data.h @@ -1,4 +1,4 @@ -// Copyright (C) 2010-2016 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2010-2017 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -78,7 +78,7 @@ public: /// \endcode /// /// the position of the element "bar" is: line_ = 2; pos_ = 9, because - /// begining of the value "123" is at offset 9 from the beginning of + /// beginning of the value "123" is at offset 9 from the beginning of /// the second line, including whitespaces. /// /// Note that the @c Position structure is used as an argument to @c Element @@ -511,7 +511,7 @@ public: //@{ /// Creates an Element from the wire format in the given /// stringstream of the given length. - /// Since the wire format is JSON, thise is the same as + /// Since the wire format is JSON, this is the same as /// fromJSON, and could be removed. /// /// \param in The input stringstream. @@ -520,7 +520,7 @@ public: static ElementPtr fromWire(std::stringstream& in, int length); /// Creates an Element from the wire format in the given string - /// Since the wire format is JSON, thise is the same as + /// Since the wire format is JSON, this is the same as /// fromJSON, and could be removed. /// /// \param s The input string diff --git a/src/lib/config/command_mgr.h b/src/lib/config/command_mgr.h index d05e0eb26208470d4dc02624052aeafd1595a172..07a6553e758bc138dde26a0ddca7ec15e3f3161e 100644 --- a/src/lib/config/command_mgr.h +++ b/src/lib/config/command_mgr.h @@ -29,7 +29,7 @@ public: /// @return the only existing instance of the manager static CommandMgr& instance(); - /// @brief Opens control socket with paramters specified in socket_info + /// @brief Opens control socket with parameters specified in socket_info /// /// Currently supported types are: /// - unix (required parameters: socket-type: unix, socket-name:/unix/path) diff --git a/src/lib/dns/labelsequence.cc b/src/lib/dns/labelsequence.cc index c5682c3c7d7d6f230377e43d9bcda970b986e854..686efa65bf9f03494db6f3aca605f5fa5d00b58b 100644 --- a/src/lib/dns/labelsequence.cc +++ b/src/lib/dns/labelsequence.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2012-2015 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2012-2015,2017 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -19,7 +19,7 @@ namespace dns { LabelSequence::LabelSequence(const void* buf) { #ifdef ENABLE_DEBUG - // In non-debug mode, derefencing the NULL pointer further below + // In non-debug mode, dereferencing the NULL pointer further below // will lead to a crash, so disabling this check is not // unsafe. Except for a programming mistake, this case should not // happen. diff --git a/src/lib/dns/rdatafields.cc b/src/lib/dns/rdatafields.cc index fd9992bf7c865e3c4e6b2bcd242355f93dc09f42..bc41aba7588440a2c9a7e12550ef548118fb87a5 100644 --- a/src/lib/dns/rdatafields.cc +++ b/src/lib/dns/rdatafields.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2010-2015 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2010-2015,2017 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -98,7 +98,7 @@ public: extendData(); return (fields_); } - // We use generict write* methods, with the exception of writeName. + // We use generic write* methods, with the exception of writeName. // So new data can arrive without us knowing it, this considers all new // data to be just data and extends the fields to take it into account. size_t last_data_pos_; diff --git a/src/lib/dns/rrset_collection_base.h b/src/lib/dns/rrset_collection_base.h index a3d61243cb583d17022c518168c662d5c9bc005e..ac77756e417a7ecdc3af3443b7fe5ef7c91eaaf7 100644 --- a/src/lib/dns/rrset_collection_base.h +++ b/src/lib/dns/rrset_collection_base.h @@ -1,4 +1,4 @@ -// Copyright (C) 2012-2015 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2012-2015,2017 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -108,7 +108,7 @@ protected: /// used by the public iterator. Derived classes of /// \c RRsetCollectionBase are supposed to implement this class and /// the \c getBeginning() and \c getEnd() methods, so that the - /// public interator interface can be provided. This is a forward + /// public iterator interface can be provided. This is a forward /// iterator only. class Iter { public: diff --git a/src/lib/dns/serial.h b/src/lib/dns/serial.h index b9dbcda2fb0d5a6c98f74bc085db6c686e7233c7..7c7e3381b0a46f265ba19dbb11cc06d5a342bfb3 100644 --- a/src/lib/dns/serial.h +++ b/src/lib/dns/serial.h @@ -1,4 +1,4 @@ -// Copyright (C) 2011-2015 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2011-2015,2017 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -58,7 +58,7 @@ public: /// \brief Direct assignment from value /// - /// \param value the uint32_t value to assing + /// \param value the uint32_t value to assign void operator=(uint32_t value) { value_ = value; } /// \brief Returns the uint32_t representation of this serial value diff --git a/src/lib/dns/tsig.h b/src/lib/dns/tsig.h index 046e46e31c8cd88a8b4a28ed6e877c80cfd64116..579f8e4863ebd245910d92d051dc636d921f2448 100644 --- a/src/lib/dns/tsig.h +++ b/src/lib/dns/tsig.h @@ -1,4 +1,4 @@ -// Copyright (C) 2011-2015 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2011-2015,2017 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -414,7 +414,7 @@ public: protected: /// \brief Update internal HMAC state by more data. /// - /// This is used mostly internaly, when we need to verify a message without + /// This is used mostly internally, when we need to verify a message without /// TSIG signature in the middle of signed TCP stream. However, it is also /// used in tests, so it's protected instead of private, to allow tests /// in. diff --git a/src/lib/eval/eval_context.h b/src/lib/eval/eval_context.h index 5ced06cb1dd3671cdb4bbce77239b7291ead8a64..053e8cf64bea3cc3c9dcaf6a9c3b049d3db04b3a 100644 --- a/src/lib/eval/eval_context.h +++ b/src/lib/eval/eval_context.h @@ -1,4 +1,4 @@ -// Copyright (C) 2015-2016 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2015-2017 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -22,7 +22,7 @@ YY_DECL; namespace isc { namespace eval { -/// @brief Evaluation error exception raised when trying to parse an axceptions. +/// @brief Evaluation error exception raised when trying to parse an exceptions. class EvalParseError : public isc::Exception { public: EvalParseError(const char* file, size_t line, const char* what) : @@ -153,7 +153,7 @@ public: /// @brief Flag determining scanner debugging. bool trace_scanning_; - /// @brief Flag determing parser debugging. + /// @brief Flag determining parser debugging. bool trace_parsing_; /// @brief Option universe: DHCPv4 or DHCPv6. diff --git a/src/lib/eval/parser.yy b/src/lib/eval/parser.yy index 81f012c2e06cbd1546a661bd5ab2849aea477de1..53c76897b7933e7a6f5de92317d0e9e6d1e3a978 100644 --- a/src/lib/eval/parser.yy +++ b/src/lib/eval/parser.yy @@ -1,4 +1,4 @@ -/* Copyright (C) 2015-2016 Internet Systems Consortium, Inc. ("ISC") +/* Copyright (C) 2015-2017 Internet Systems Consortium, Inc. ("ISC") This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this @@ -35,7 +35,7 @@ using namespace isc::eval; } %define api.token.prefix {TOKEN_} -// Tokens in an order which makes sense and related to the intented use. +// Tokens in an order which makes sense and related to the intended use. %token END 0 "end of file" LPAREN "(" diff --git a/src/lib/eval/token.h b/src/lib/eval/token.h index 031a4ad64f25b131edc21640041edb9af74f6afb..479b3583cd024918b1793b1d0366e4088116f422 100644 --- a/src/lib/eval/token.h +++ b/src/lib/eval/token.h @@ -1,4 +1,4 @@ -// Copyright (C) 2015-2016 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2015-2017 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -342,7 +342,7 @@ protected: class TokenRelay6Option : public TokenOption { public: /// @brief Constructor that takes a nesting level and an option - /// code as paramaters. + /// code as parameters. /// /// @param nest_level the nesting for which relay to examine. /// @param option_code code of the option. @@ -499,7 +499,7 @@ public: /// @brief Gets a value of the specified packet. /// - /// The evaluation uses fields that are availabe in the packet. It does not + /// The evaluation uses fields that are available in the packet. It does not /// require any values to be present on the stack. /// /// @throw EvalTypeError when called for a DHCPv4 packet diff --git a/src/lib/exceptions/exceptions.h b/src/lib/exceptions/exceptions.h index 2f044e6a197aaea88875dd206b8813bfc70ba70a..14d1021a984bc6aa72900c4c59f933679a62c53e 100644 --- a/src/lib/exceptions/exceptions.h +++ b/src/lib/exceptions/exceptions.h @@ -1,4 +1,4 @@ -// Copyright (C) 2009-2015 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2009-2015,2017 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -64,7 +64,7 @@ public: /// @return A C-style character string of the exception cause. virtual const char* what() const throw(); - /// \brief Returns a C-style charater string of the cause of exception. + /// \brief Returns a C-style character string of the cause of exception. /// /// With verbose set to true, also returns file name and line numbers. /// Note that we can't simply define a single what() method with parameters,