]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Make warning message more coherent
authorAlan T. DeKok <aland@freeradius.org>
Wed, 14 Sep 2011 09:57:04 +0000 (11:57 +0200)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 14 Sep 2011 09:57:24 +0000 (11:57 +0200)
src/lib/valuepair.c

index 97c4e2e22d4755ae0e01013a82ca223b4dc572da..8a3693b32c5f44ae59da8075cf7117a7c01dfb45 100644 (file)
@@ -1342,7 +1342,7 @@ static VALUE_PAIR *pairmake_any(const char *attribute, const char *value,
         *      Unknown attributes MUST be of type 'octets'
         */
        if (value && (strncasecmp(value, "0x", 2) != 0)) {
-               fr_strerror_printf("Invalid octet string \"%s\" for attribute name \"%s\"", value, attribute);
+               fr_strerror_printf("Unknown attribute \"%s\" requires a hex string, not \"%s\"", attribute, value);
                return NULL;
        }