* automatically. If it isn't found, it's a serious
* error.
*/
- dval = dict_valbyname(attr, name2);
+ dval = dict_valbyname(attr, 0, name2);
if (!dval) {
cf_log_err(cf_sectiontoitem(cs),
"%s %s Not previously configured",
* If the value already exists, don't
* create it again.
*/
- dval = dict_valbyname(dattr->attr, name);
+ dval = dict_valbyname(dattr->attr, dattr->vendor, name);
if (dval) return 1;
/*
*/
do {
value = fr_rand() & 0x00ffffff;
- } while (dict_valbyattr(dattr->attr, value));
+ } while (dict_valbyattr(dattr->attr, dattr->vendor, value));
if (dict_addvalue(name, dattr->name, value) < 0) {
radlog(L_ERR, "%s", fr_strerror());
/*
* Find the attribute used to store VALUEs for this section.
*/
- dattr = dict_attrbyvalue(section_type_value[comp].attr);
+ dattr = dict_attrbyvalue(section_type_value[comp].attr, 0);
if (!dattr) {
cf_log_err(cf_sectiontoitem(cs),
"No such attribute %s",
}
}
- dval = dict_valbyname(PW_AUTH_TYPE, modrefname);
+ dval = dict_valbyname(PW_AUTH_TYPE, 0, modrefname);
if (!dval) {
/*
* It's a section, but nothing we
/*
* Find the attribute used to store VALUEs for this section.
*/
- dattr = dict_attrbyvalue(section_type_value[comp].attr);
+ dattr = dict_attrbyvalue(section_type_value[comp].attr, 0);
if (!dattr) {
cf_log_err(cf_sectiontoitem(subcs),
"No such attribute %s",