CoA proxying uses the CoA pool
authorAlan T. DeKok <aland@freeradius.org>
Fri, 1 Jun 2012 08:45:45 +0000 (10:45 +0200)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 11 Jun 2012 11:14:46 +0000 (13:14 +0200)
src/main/process.c

index 478f328..82e8c83 100644 (file)
@@ -2041,13 +2041,7 @@ static int request_will_proxy(REQUEST *request)
 #ifdef WITH_COA
                } else if ((request->packet->code == PW_COA_REQUEST) ||
                           (request->packet->code == PW_DISCONNECT_REQUEST)) {
-                       /*
-                        *      FIXME: This is likely wrong.  We don't
-                        *      want to set Proxy-To-Realm for CoA
-                        *      packets.  OR, we have a CoA pool
-                        *      specifically for them.
-                        */
-                       pool = realm->acct_pool;
+                       pool = realm->coa_pool;
 #endif
 
                } else {