From: Alan T. DeKok Date: Thu, 29 Jun 2017 18:17:04 +0000 (-0400) Subject: remove one more home pool API call X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b29de4acf912007fde50bfe153eac3c2e9d404c;p=thirdparty%2Ffreeradius-server.git remove one more home pool API call --- diff --git a/src/main/listen.c b/src/main/listen.c index 3599db4f34d..31909843ae0 100644 --- a/src/main/listen.c +++ b/src/main/listen.c @@ -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. */