Return the correct list.
authorAlan T. DeKok <aland@freeradius.org>
Tue, 23 Feb 2016 17:18:10 +0000 (12:18 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 23 Feb 2016 17:18:10 +0000 (12:18 -0500)
src/main/tmpl.c

index ab29689..a310b36 100644 (file)
@@ -251,7 +251,7 @@ VALUE_PAIR **radius_list(REQUEST *request, pair_lists_t list)
                if (request->coa && /* match reply with request */
                    (request->coa->proxy->code == PW_CODE_DISCONNECT_REQUEST) &&
                    request->coa->proxy_reply) {
-                       return &request->coa->proxy->vps;
+                       return &request->coa->proxy_reply->vps;
                }
                break;
 #endif