// Add the client class definition
try {
- class_dictionary->addClass(name, match_expr, options, next_server,
- sname, filename);
+ class_dictionary->addClass(name, match_expr, test, options,
+ next_server, sname, filename);
} catch (const std::exception& ex) {
- isc_throw(DhcpConfigError, ex.what()
+ isc_throw(DhcpConfigError, "Can't add class: " << ex.what()
<< " (" << class_def_cfg->getPosition() << ")");
}
}