projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9975be8
)
If abinary is 0x..., then make it type "octets"
author
aland
<aland>
Wed, 3 May 2006 17:40:58 +0000
(17:40 +0000)
committer
aland
<aland>
Wed, 3 May 2006 17:40:58 +0000
(17:40 +0000)
src/lib/valuepair.c
patch
|
blob
|
history
diff --git
a/src/lib/valuepair.c
b/src/lib/valuepair.c
index
7771a1a
..
5457770
100644
(file)
--- a/
src/lib/valuepair.c
+++ b/
src/lib/valuepair.c
@@
-734,8
+734,10
@@
VALUE_PAIR *pairparsevalue(VALUE_PAIR *vp, const char *value)
break;
case PW_TYPE_ABINARY:
#ifdef ASCEND_BINARY
- if (strncasecmp(value, "0x", 2) == 0) goto do_octets;
-
+ if (strncasecmp(value, "0x", 2) == 0) {
+ vp->type = PW_TYPE_OCTETS;
+ goto do_octets;
+ }
/*
* Special case to convert filter to binary