summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFrancis Dupont <fdupont@isc.org>2015-01-22 11:28:13 +0100
committerFrancis Dupont <fdupont@isc.org>2015-01-22 11:28:13 +0100
commit2409c6c40bdf86cc092681a5322bc55fb93b0b92 (patch)
tree98cecd3b8f92eb8c86961e9e9daf698d37b1cb9a /src
parentspelling (diff)
downloadkea-2409c6c40bdf86cc092681a5322bc55fb93b0b92.tar.xz
kea-2409c6c40bdf86cc092681a5322bc55fb93b0b92.zip
spelling
Diffstat (limited to 'src')
-rw-r--r--src/bin/dhcp4/json_config_parser.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bin/dhcp4/json_config_parser.cc b/src/bin/dhcp4/json_config_parser.cc
index 435ca26b9c..0a086d591d 100644
--- a/src/bin/dhcp4/json_config_parser.cc
+++ b/src/bin/dhcp4/json_config_parser.cc
@@ -111,7 +111,7 @@ public:
/// @brief Constructor
///
/// @param ignored first parameter
- /// stores global scope parameters, options, option defintions.
+ /// stores global scope parameters, options, option definitions.
Subnet4ConfigParser(const std::string&)
:SubnetConfigParser("", globalContext(), IOAddress("0.0.0.0")) {
}
@@ -455,7 +455,7 @@ configureDhcp4Server(Dhcpv4Srv&, isc::data::ConstElementPtr config_set) {
// Answer will hold the result.
ConstElementPtr answer;
- // Rollback informs whether error occured and original data
+ // Rollback informs whether error occurred and original data
// have to be restored to global storages.
bool rollback = false;
// config_pair holds the details of the current parser when iterating over
@@ -520,7 +520,7 @@ configureDhcp4Server(Dhcpv4Srv&, isc::data::ConstElementPtr config_set) {
.arg(config_pair.first).arg(ex.what());
answer = isc::config::createAnswer(1, ex.what());
- // An error occured, so make sure that we restore original data.
+ // An error occurred, so make sure that we restore original data.
rollback = true;
} catch (...) {
@@ -529,7 +529,7 @@ configureDhcp4Server(Dhcpv4Srv&, isc::data::ConstElementPtr config_set) {
answer = isc::config::createAnswer(1, "undefined configuration"
" processing error");
- // An error occured, so make sure that we restore original data.
+ // An error occurred, so make sure that we restore original data.
rollback = true;
}