]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
remove one more home pool API call
authorAlan T. DeKok <aland@freeradius.org>
Thu, 29 Jun 2017 18:17:04 +0000 (14:17 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 29 Jun 2017 18:17:04 +0000 (14:17 -0400)
src/main/listen.c

index 3599db4f34d4e537cb20d853d5d41ebd22745171..31909843ae0f154716b926c895e21cdd5acc35ea 100644 (file)
@@ -2023,18 +2023,6 @@ static int do_proxy(REQUEST *request)
                return 0;
        }
 
-       vp = fr_pair_find_by_num(request->control, 0, FR_HOME_SERVER_POOL, TAG_ANY);
-
-       if (vp) {
-               if (!home_pool_byname(vp->vp_strvalue, HOME_TYPE_COA)) {
-                       REDEBUG2("Cannot proxy to unknown pool %s",
-                                vp->vp_strvalue);
-                       return -1;
-               }
-
-               return 1;
-       }
-
        /*
         *      We have a destination IP address.  It will (later) proxied.
         */