TMPL_TYPE_NULL //!< VPT has no value
} tmpl_type_t;
-extern const FR_NAME_NUMBER vpt_types[];
+extern const FR_NAME_NUMBER tmpl_types[];
typedef struct xlat_exp xlat_exp_t;
#include <freeradius-devel/radiusd.h>
#include <freeradius-devel/rad_assert.h>
-const FR_NAME_NUMBER vpt_types[] = {
+const FR_NAME_NUMBER tmpl_types[] = {
{"unknown", TMPL_TYPE_UNKNOWN },
{"literal", TMPL_TYPE_LITERAL },
{"expanded", TMPL_TYPE_XLAT },
"allowed for %s values",
fr_int2str(fr_tokens, map->op,
"<INVALID>"),
- fr_int2str(vpt_types, map->rhs->type,
+ fr_int2str(tmpl_types, map->rhs->type,
"<INVALID>"));
return -1;
}
default:
cf_log_err(map->ci, "Operator \"%s\" not allowed for %s values",
fr_int2str(fr_tokens, map->op, "<INVALID>"),
- fr_int2str(vpt_types, map->rhs->type, "<INVALID>"));
+ fr_int2str(tmpl_types, map->rhs->type, "<INVALID>"));
return -1;
}
default: