projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7cb3575
)
Print Ethernet as string for has table lookups. We should
author
aland
<aland>
Wed, 28 May 2008 17:33:51 +0000
(17:33 +0000)
committer
aland
<aland>
Wed, 28 May 2008 17:33:51 +0000
(17:33 +0000)
really leave the binary values alone...
src/modules/rlm_passwd/rlm_passwd.c
patch
|
blob
|
history
diff --git
a/src/modules/rlm_passwd/rlm_passwd.c
b/src/modules/rlm_passwd/rlm_passwd.c
index
be7bda8
..
ec179de
100644
(file)
--- a/
src/modules/rlm_passwd/rlm_passwd.c
+++ b/
src/modules/rlm_passwd/rlm_passwd.c
@@
-530,6
+530,11
@@
static int passwd_map(void *instance, REQUEST *request)
snprintf(buffer, 1024, "%u", key->vp_integer);
name = buffer;
break;
snprintf(buffer, 1024, "%u", key->vp_integer);
name = buffer;
break;
+ case PW_TYPE_ETHERNET:
+ vp_prints_value(buffer, sizeof(buffer),
+ key, 0);
+ name = buffer;
+ break;
default:
name = key->vp_strvalue;
}
default:
name = key->vp_strvalue;
}