Commit 4cc58649 authored by Stephen Morris's avatar Stephen Morris
Browse files

[5258] Correct bug in error path in PoolParser

Correct a trivial error that led to a crash (instead of the raising
of an exception) when parsing an incorrect "pools" clause.
parent 96c5ea9e
......@@ -644,7 +644,7 @@ PoolParser::parse(PoolStoragePtr pools,
if (!text_pool) {
isc_throw(DhcpConfigError, "Mandatory 'pool' entry missing in "
"definition: (" << text_pool->getPosition() << ")");
"definition: (" << pool_structure->getPosition() << ")");
}
// That should be a single pool representation. It should contain
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment