// explanation is user-context. This is a structure that you can define
// in subnets and pools. It is parsed by Kea, but not used directly.
// It is intended to keep anything you may want to put there - comments,
- // extra designations, floor or depatment names etc. This structures
+ // extra designations, floor or department names etc. These structures
// will be made available to Kea hooks.
"subnet4": [
{
ConstCfgOptionPtr opts = getCfgOption();
map->set("option-data", opts->toElement());
- // Add user-context, but only if defined. Omit if it was not.
+ // Add user-context, but only if defined. Omit if it was not.
ConstElementPtr ctx = getContext();
if (ctx) {
map->set("user-context", ctx);