Use correct packet for CoA
authorAlan T. DeKok <aland@freeradius.org>
Tue, 23 Feb 2016 17:24:18 +0000 (12:24 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 23 Feb 2016 17:24:18 +0000 (12:24 -0500)
src/main/tmpl.c

index a310b36..919cc86 100644 (file)
@@ -300,11 +300,11 @@ RADIUS_PACKET *radius_packet(REQUEST *request, pair_lists_t list)
 #ifdef WITH_COA
        case PAIR_LIST_COA:
        case PAIR_LIST_DM:
-               return request->coa->packet;
+               return request->coa->proxy;
 
        case PAIR_LIST_COA_REPLY:
        case PAIR_LIST_DM_REPLY:
-               return request->coa->reply;
+               return request->coa->proxy_reply;
 #endif
        }