]> 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>
Thu, 22 Jul 2021 13:55:21 +0000 (09:55 -0400)
src/main/process.c

index df32903117ce688be309aeff68f2fd6e5607946f..56c49211d557e8955a204d76f4da967bd59f2d29 100644 (file)
@@ -4361,7 +4361,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,