From: Alan T. DeKok Date: Wed, 14 Sep 2011 09:57:04 +0000 (+0200) Subject: Make warning message more coherent X-Git-Tag: release_2_1_12~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fbccbb082d6e48f1d279f4c66ea93391aa653250;p=thirdparty%2Ffreeradius-server.git Make warning message more coherent --- diff --git a/src/lib/valuepair.c b/src/lib/valuepair.c index 33a8dbb0645..150c3117ef0 100644 --- a/src/lib/valuepair.c +++ b/src/lib/valuepair.c @@ -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; }