const char *p = attribute;
char *q;
VALUE_PAIR *vp;
- DICT_ATTR *da;
/*
* Unknown attributes MUST be of type 'octets'
return NULL;
}
- da = dict_attrbyname(attribute);
- if (da) {
- attr = da->attr;
- goto raw;
- }
-
attr = vendor = 0;
/*
attr |= vendor << 16;
- raw:
/*
* We've now parsed the attribute properly, Let's create
* it. This next stop also looks the attribute up in the
return pairmake_any(attribute, value, operator);
}
- if (value && (value[0] == '0') && (value[1] == 'x') &&
- (da->type != PW_TYPE_OCTETS)) {
- return pairmake_any(attribute, value, operator);
- }
-
if ((vp = pairalloc(da)) == NULL) {
librad_log("out of memory");
return NULL;