diff --git a/src/bin/admin/kea-admin.in b/src/bin/admin/kea-admin.in index 32a27a315491484bfbe618a0e6bd5b491ef2a89e..34a55f3556cf9ecd59ed03f1fbddb2a8d3e71ac3 100644 --- a/src/bin/admin/kea-admin.in +++ b/src/bin/admin/kea-admin.in @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright (C) 2014-2016 Internet Systems Consortium, Inc. ("ISC") +# Copyright (C) 2014-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 @@ -49,7 +49,7 @@ usage() { printf "\n" printf "COMMAND: Currently supported operations are:\n" printf "\n" - printf " - lease-init: Initalizes new lease database. Useful for first time installation.\n" + printf " - lease-init: Initializes new lease database. Useful for first time installation.\n" printf " - lease-version: Checks version of the existing lease database scheme. Useful\n" printf " - for checking lease DB version when preparing for an upgrade.\n" printf " - lease-upgrade: Upgrades your lease database scheme\n" diff --git a/src/bin/d2/d2_cfg_mgr.cc b/src/bin/d2/d2_cfg_mgr.cc index 0f30fbfaa4568bb282cb9f46e52527b0961bcbe0..53d60c150d08a466ada5f5a2b19f6820b9657807 100644 --- a/src/bin/d2/d2_cfg_mgr.cc +++ b/src/bin/d2/d2_cfg_mgr.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2016 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2014-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 @@ -80,7 +80,7 @@ D2CfgMgr::forwardUpdatesEnabled() { bool D2CfgMgr::reverseUpdatesEnabled() { - // Reverse updates are not enabled if no revese servers are defined. + // Reverse updates are not enabled if no reverse servers are defined. return (getD2CfgContext()->getReverseMgr()->size() > 0); } diff --git a/src/bin/d2/d2_config.h b/src/bin/d2/d2_config.h index b605193c5510c6d5053f8f0c0b0d78f76bc08c71..5b9fa9f660ba3535ef537b9c7b4489d0b500d55f 100644 --- a/src/bin/d2/d2_config.h +++ b/src/bin/d2/d2_config.h @@ -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 @@ -213,10 +213,10 @@ public: /// @return Configuration summary in the textual format. std::string getConfigSummary() const; - /// @brief Compares two D2Paramss for equality + /// @brief Compares two D2Params's for equality bool operator == (const D2Params& other) const; - /// @brief Compares two D2Paramss for inequality + /// @brief Compares two D2Params's for inequality bool operator != (const D2Params& other) const; /// @brief Generates a string representation of the class contents. @@ -258,7 +258,7 @@ private: /// @brief Dumps the contents of a D2Params as text to an output stream /// /// @param os output stream to which text should be sent -/// @param config D2Param instnace to dump +/// @param config D2Param instance to dump std::ostream& operator<<(std::ostream& os, const D2Params& config); @@ -287,7 +287,7 @@ public: /// @brief Constructor /// /// @param name the unique label used to identify this key - /// @param algorithm the id of the encryption alogirthm this key uses. + /// @param algorithm the id of the encryption algorithm this key uses. /// Currently supported values are (case insensitive): /// -# "HMAC-MD5" /// -# "HMAC-SHA1" diff --git a/src/bin/d2/d2_process.h b/src/bin/d2/d2_process.h index a652b3acbb9a5cb1576f9702bb20cbdbac54574c..dd0794d194a3fd16d38dd97d95da6942491e44f7 100644 --- a/src/bin/d2/d2_process.h +++ b/src/bin/d2/d2_process.h @@ -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 @@ -68,7 +68,7 @@ public: /// as a place to perform any derivation-specific initialization steps /// that are inapppropriate for the constructor but necessary prior to /// launch. So far, no such steps have been identified for D2, so its - /// implementantion is empty but required. + /// implementation is empty but required. /// /// @throw DProcessBaseError if the initialization fails. virtual void init(); diff --git a/src/bin/d2/d2_update_message.h b/src/bin/d2/d2_update_message.h index d9dab3e0bd4aaf1240365030b5a27e0329d4a7a9..db56540511dbd2ade8df11b71285f7fb8b9f00f1 100644 --- a/src/bin/d2/d2_update_message.h +++ b/src/bin/d2/d2_update_message.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 @@ -56,7 +56,7 @@ public: isc::Exception(file, line, what) {} }; -/// @brief Exception indicating that a signed, inbound message failed to verfiy +/// @brief Exception indicating that a signed, inbound message failed to verify /// /// This exception is thrown when TSIG verification of a DNS server's response /// fails. @@ -126,7 +126,7 @@ public: /// (either outgoing or incoming). /// /// This constructor is used to create an instance of either incoming or - /// outgoing DNS Update message. The boolean argument indicates wheteher it + /// outgoing DNS Update message. The boolean argument indicates whether it /// is incoming (true) or outgoing (false) message. For incoming messages /// the @c D2UpdateMessage::fromWire function is used to parse on-wire data. /// For outgoing messages, modifier functions should be used to set the diff --git a/src/bin/d2/nc_remove.h b/src/bin/d2/nc_remove.h index b9ed2c9918b04f47764ab5db97e8fb9a118bee14..1584cb0025d6131100ad26ec3b62c0aa19129251 100644 --- a/src/bin/d2/nc_remove.h +++ b/src/bin/d2/nc_remove.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 @@ -212,7 +212,7 @@ protected: /// post a next event of IO_COMPLETED_EVT and then invoke runModel which /// resumes execution of the state model. /// - /// When the handler is invoked with a next event of IO_COMPELTED_EVT, + /// When the handler is invoked with a next event of IO_COMPLETED_EVT, /// the DNS update status is checked and acted upon accordingly: /// /// Transitions to: @@ -254,7 +254,7 @@ protected: /// post a next event of IO_COMPLETED_EVT and then invoke runModel which /// resumes execution of the state model. /// - /// When the handler is invoked with a next event of IO_COMPELTED_EVT, + /// When the handler is invoked with a next event of IO_COMPLETED_EVT, /// the DNS update status is checked and acted upon accordingly: /// /// Transitions to: @@ -306,7 +306,7 @@ protected: /// post a next event of IO_COMPLETED_EVT and then invoke runModel which /// resumes execution of the state model. /// - /// When the handler is invoked with a next event of IO_COMPELTED_EVT, + /// When the handler is invoked with a next event of IO_COMPLETED_EVT, /// the DNS update status is checked and acted upon accordingly: /// /// Transitions to: diff --git a/src/bin/d2/nc_trans.cc b/src/bin/d2/nc_trans.cc index 793410d3684346b7a56d4a36a4177d192aa04287..5360e66f2f1b38479632f1b1ae15e97ea5e378ab 100644 --- a/src/bin/d2/nc_trans.cc +++ b/src/bin/d2/nc_trans.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 @@ -132,7 +132,7 @@ NameChangeTransaction::responseString() const { stream << "OTHER"; break; default: - stream << "UKNOWNN(" + stream << "UNKOWN(" << static_cast(getDnsUpdateStatus()) << ")"; break; diff --git a/src/bin/d2/nc_trans.h b/src/bin/d2/nc_trans.h index 77f8fb3fb7e1d259379fc1c0a54572f7b09ee755..f8b11b3e80143dba5369d5bd1b102fbf3dea63c4 100644 --- a/src/bin/d2/nc_trans.h +++ b/src/bin/d2/nc_trans.h @@ -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 @@ -144,7 +144,7 @@ public: static const int NCT_DERIVED_EVENT_MIN = SM_DERIVED_EVENT_MIN + 101; //@} - /// @brief Defualt time to assign to a single DNS udpate. + /// @brief Default time to assign to a single DNS udpate. /// @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.