projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f25ebcb
)
Make warning message more coherent
author
Alan T. DeKok
<aland@freeradius.org>
Wed, 14 Sep 2011 09:57:04 +0000
(11:57 +0200)
committer
Alan T. DeKok
<aland@freeradius.org>
Wed, 14 Sep 2011 10:05:26 +0000
(12:05 +0200)
src/lib/valuepair.c
patch
|
blob
|
history
diff --git
a/src/lib/valuepair.c
b/src/lib/valuepair.c
index
33a8dbb
..
150c311
100644
(file)
--- 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, attribut
e);
+ fr_strerror_printf("
Unknown attribute \"%s\" requires a hex string, not \"%s\"", attribute, valu
e);
return NULL;
}