TMPL_ATTR_ERROR_NONE = 0, //!< No error.
TMPL_ATTR_ERROR_EMPTY, //!< Attribute ref contains no data.
TMPL_ATTR_ERROR_BAD_PREFIX, //!< Missing '&' or has '&' when it shouldn't.
- TMPL_ATTR_ERROR_INVALID_LIST_QUALIFIER, //!< List qualifier is invalid.
TMPL_ATTR_ERROR_LIST_NOT_ALLOWED, //!< List qualifier is not allowed here.
TMPL_ATTR_ERROR_LIST_MISSING, //!< List qualifier is required, but missing.
TMPL_ATTR_ERROR_UNKNOWN_NOT_ALLOWED, //!< Attribute specified as OID, could not be
if (depth == 0) {
if (at_rules->namespace || (at_rules->list_presence == TMPL_ATTR_LIST_FORBID)) {
- fr_strerror_const("It is not permitted to specify a request reference here");
- if (err) *err = TMPL_ATTR_ERROR_INVALID_LIST_QUALIFIER;
+ fr_strerror_const("List qualifiers are not allowed here");
+ if (err) *err = TMPL_ATTR_ERROR_LIST_NOT_ALLOWED;
fr_sbuff_set(&our_in, in); /* Marker at the start */
error: