]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Increment correct counter
authorAlan T. DeKok <aland@freeradius.org>
Fri, 1 Jun 2012 09:00:23 +0000 (11:00 +0200)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 11 Jun 2012 11:14:54 +0000 (13:14 +0200)
src/main/process.c

index 82e8c83e1ff9796ece5ec2b50207e1a4bc8ad07f..8687246b161495f64ebd935b2cd4cf99d7201941 100644 (file)
@@ -3111,7 +3111,7 @@ static void request_coa_originate(REQUEST *request)
 #endif
        coa->child_state = REQUEST_ACTIVE;
        rad_assert(coa->proxy_reply == NULL);
-       FR_STATS_TYPE_INC(request->home_server->stats.total_requests);
+       FR_STATS_TYPE_INC(coa->home_server->stats.total_requests);
        coa->proxy_listener->send(coa->proxy_listener, coa);
 }