]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
make error message clearer
authorAlan T. DeKok <aland@freeradius.org>
Sun, 23 Feb 2025 12:49:34 +0000 (07:49 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Sun, 23 Feb 2025 12:49:34 +0000 (07:49 -0500)
src/lib/util/dict_ext_priv.h

index 9b03bc0e8250b5f6d18c0d4e1ca4062f9e11cb0c..b02027d932ebfc505246f893afe5998ef3cd4cea 100644 (file)
@@ -216,7 +216,7 @@ static inline int dict_attr_ref_aunresolved(fr_dict_attr_t **da_p, char const *r
        }
        da = *da_p;
        if (unlikely(ext->type != 0)) {
-               fr_strerror_printf("Attribute already contains a populated 'ref' extension");
+               fr_strerror_printf("Attribute already has a 'ref=...' defined");
                return -1;
        }
        ext->type = type | FR_DICT_ATTR_REF_UNRESOLVED; /* Always unresolved */