projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
306b3d8
)
Don't call client_find. The REQUEST now holds a pointer to
author
aland
<aland>
Thu, 3 Jan 2008 09:53:16 +0000
(09:53 +0000)
committer
aland
<aland>
Thu, 3 Jan 2008 09:53:16 +0000
(09:53 +0000)
the client structure
src/modules/rlm_opendirectory/rlm_opendirectory.c
patch
|
blob
|
history
diff --git
a/src/modules/rlm_opendirectory/rlm_opendirectory.c
b/src/modules/rlm_opendirectory/rlm_opendirectory.c
index
865c674
..
bfc2b81
100644
(file)
--- a/
src/modules/rlm_opendirectory/rlm_opendirectory.c
+++ b/
src/modules/rlm_opendirectory/rlm_opendirectory.c
@@
-367,7
+367,8
@@
int od_authorize(void *instance, REQUEST *request)
/* resolve client access list */
uuid_clear(guid_nasgroup);
#if 0
- if ( (rad_client = client_find(request->packet->src_ipaddr)) != NULL && rad_client->community[0] != '\0' )
+ rad_client = request->client;
+ if (rad_client->community[0] != '\0' )
{
/*
* The "community" can be a GUID (Globally Unique ID) or