summaryrefslogtreecommitdiffstats
path: root/src/lib/process/log_parser.cc
diff options
context:
space:
mode:
authorFrancis Dupont <fdupont@isc.org>2019-01-03 16:46:44 +0100
committerFrancis Dupont <fdupont@isc.org>2019-01-11 14:23:43 +0100
commit52927a0a0db82ddc2d89bd51ca5b9b6a83661928 (patch)
tree99508422f76336ef84d286de3499b42f8347aabd /src/lib/process/log_parser.cc
parent[master] Added ChangeLog entry 1509. (diff)
downloadkea-52927a0a0db82ddc2d89bd51ca5b9b6a83661928.tar.xz
kea-52927a0a0db82ddc2d89bd51ca5b9b6a83661928.zip
[381-bad-config-crashes-ca-or-d2-servers-even-with-c] Fixed severity_ptr typo
Diffstat (limited to 'src/lib/process/log_parser.cc')
-rw-r--r--src/lib/process/log_parser.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/process/log_parser.cc b/src/lib/process/log_parser.cc
index 95acfc8986..daf2653f17 100644
--- a/src/lib/process/log_parser.cc
+++ b/src/lib/process/log_parser.cc
@@ -68,7 +68,7 @@ void LogConfigParser::parseConfigEntry(isc::data::ConstElementPtr entry) {
// Get severity
isc::data::ConstElementPtr severity_ptr = entry->get("severity");
- if (!name_ptr) {
+ if (!severity_ptr) {
isc_throw(BadValue, "loggers entry does not have a mandatory "
"'severity' element (" << entry->getPosition() << ")");
}