projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
736eafd
)
skip virtual servers in a pool
author
Alan T. DeKok
<aland@freeradius.org>
Mon, 26 Sep 2016 20:20:30 +0000
(16:20 -0400)
committer
Alan T. DeKok
<aland@freeradius.org>
Mon, 26 Sep 2016 20:20:30 +0000
(16:20 -0400)
src/modules/rlm_realm/rlm_realm.c
patch
|
blob
|
history
diff --git
a/src/modules/rlm_realm/rlm_realm.c
b/src/modules/rlm_realm/rlm_realm.c
index
09f9f0f
..
2892e7f
100644
(file)
--- a/
src/modules/rlm_realm/rlm_realm.c
+++ b/
src/modules/rlm_realm/rlm_realm.c
@@
-308,6
+308,8
@@
static int check_for_realm(void *instance, REQUEST *request, REALM **returnrealm
* send it there again.
*/
for (i = 0; i < realm->acct_pool->num_home_servers; i++) {
+ if (realm->acct_pool->servers[i]->ipaddr.af == AF_UNSPEC) continue;
+
if (fr_ipaddr_cmp(&realm->acct_pool->servers[i]->ipaddr, &my_ipaddr) == 0) {
RDEBUG2("Suppressing proxy due to FreeRADIUS-Proxied-To");
return RLM_MODULE_OK;