]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
remove references to realm_find2
authorAlan T. DeKok <aland@freeradius.org>
Thu, 29 Jun 2017 18:04:29 +0000 (14:04 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 29 Jun 2017 18:04:29 +0000 (14:04 -0400)
src/main/acct.c
src/main/auth.c

index c4172ed0ffdd2175d589081969871402b951ce1f..5660f8ca41715c827260bebea5df30a3886b3ab4 100644 (file)
@@ -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);
index af2c586db48ffaa468d16fa7f73f900b24e883af..7fa2967c99b033761ee1cc311262ea275d924c33 100644 (file)
@@ -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