From: Alan T. DeKok Date: Thu, 29 Jun 2017 18:04:29 +0000 (-0400) Subject: remove references to realm_find2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d43451cfbfbff4a392c12dbe890b53cfc2ff177f;p=thirdparty%2Ffreeradius-server.git remove references to realm_find2 --- diff --git a/src/main/acct.c b/src/main/acct.c index c4172ed0ffd..5660f8ca417 100644 --- a/src/main/acct.c +++ b/src/main/acct.c @@ -126,7 +126,7 @@ rlm_rcode_t rad_accounting(REQUEST *request) * Check whether Proxy-To-Realm is * a LOCAL realm. */ - realm = realm_find2(vp->vp_strvalue); + realm = NULL; if (realm && !realm->acct_pool) { DEBUG("rad_accounting: Cancelling proxy to realm %s, as it is a LOCAL realm.", realm->name); fr_pair_delete_by_num(&request->control, 0, FR_PROXY_TO_REALM, TAG_ANY); diff --git a/src/main/auth.c b/src/main/auth.c index af2c586db48..7fa2967c99b 100644 --- a/src/main/auth.c +++ b/src/main/auth.c @@ -481,7 +481,7 @@ autz_redo: ((tmp = fr_pair_find_by_num(request->control, 0, FR_PROXY_TO_REALM, TAG_ANY)) != NULL)) { REALM *realm; - realm = realm_find2(tmp->vp_strvalue); + realm = NULL; /* * Don't authenticate, as the request is going to