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 10:05:26 +0000 (12:05 +0200)
src/lib/valuepair.c

index 33a8dbb..150c311 100644 (file)
@@ -1289,7 +1289,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;
        }