From: Francis Dupont Date: Thu, 3 Jan 2019 15:46:44 +0000 (+0100) Subject: [381-bad-config-crashes-ca-or-d2-servers-even-with-c] Fixed severity_ptr typo X-Git-Tag: 100-implement-test-config-backend-dhcp6_base~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52927a0a0db82ddc2d89bd51ca5b9b6a83661928;p=thirdparty%2Fkea.git [381-bad-config-crashes-ca-or-d2-servers-even-with-c] Fixed severity_ptr typo --- 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() << ")"); }