switch (type) {
case T_BARE_WORD:
+ if (*name == '&') name++;
+
if (!isdigit((int) *name)) {
request_refs_t ref;
pair_lists_t list;
char const *p = name;
ref = radius_request_name(&p, REQUEST_CURRENT);
+ if (ref == REQUEST_UNKNOWN) goto literal;
+
list = radius_list_name(&p, PAIR_LIST_REQUEST);
+ if (list == PAIR_LIST_UNKNOWN) goto literal;
if ((p != name) && !*p) {
vpt->type = VPT_TYPE_LIST;
/* FALL-THROUGH */
case T_SINGLE_QUOTED_STRING:
+ literal:
vpt->type = VPT_TYPE_LITERAL;
break;
case T_DOUBLE_QUOTED_STRING: