]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
use proxy->vps, in line with other uses
authorAlan T. DeKok <aland@freeradius.org>
Thu, 1 Apr 2021 20:03:03 +0000 (16:03 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 2 Apr 2021 19:14:45 +0000 (15:14 -0400)
src/main/process.c

index 8f4588b0c7b23fa93a3694c233358215e94c129e..c385041cc95103d57d1602a95143beb1643a1d0f 100644 (file)
@@ -4346,7 +4346,7 @@ static void request_coa_originate(REQUEST *request)
         *      Proxy-To-Originating-Realm is preferred to any other
         *      method of originating CoA requests.
         */
-       vp = fr_pair_find_by_num(coa->config, PW_PROXY_TO_ORIGINATING_REALM, 0, TAG_ANY);
+       vp = fr_pair_find_by_num(coa->proxy->vps, PW_PROXY_TO_ORIGINATING_REALM, 0, TAG_ANY);
        if (vp) {
                /*
                 *      This function will set request->home_server,