]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Properly account for accounting responses from a home server
authorAlan T. DeKok <aland@freeradius.org>
Tue, 5 Jan 2010 11:53:30 +0000 (12:53 +0100)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 5 Jan 2010 11:54:15 +0000 (12:54 +0100)
src/main/stats.c

index e81cab829825d8989baaf99b2c219dee1383a3ec..93c65959d0b91e28b607b22964e6da5d3ed1291a 100644 (file)
@@ -164,7 +164,7 @@ void request_stats_final(REQUEST *request)
 
 #ifdef WITH_ACCOUNTING
        case PW_ACCOUNTING_RESPONSE:
-               radius_acct_stats.total_responses++;
+               proxy_acct_stats.total_responses++;
                request->proxy_listener->stats.total_responses++;
                request->home_server->stats.total_responses++;
                break;