Bugfix - Used a wrong list to global statistics in 'stats'
authorJorge Pereira <jpereiran@gmail.com>
Thu, 26 Nov 2015 18:43:25 +0000 (16:43 -0200)
committerJorge Pereira <jpereiran@gmail.com>
Thu, 26 Nov 2015 18:43:25 +0000 (16:43 -0200)
doc/ChangeLog
src/main/command.c

index d6761b0..bd300ec 100644 (file)
@@ -35,6 +35,7 @@ FreeRADIUS 3.0.11 Mon 05 Oct 2015 15:00:00 EDT urgency=medium
        * Complain if the detail file reader does not have permission
          to read the "detail.work" file.  Fixes #1398
        * Fixed SoH. Attributes were not being copied to the virtual server.
+       * Used a wrong list to global statistics in "stats".
 
 FreeRADIUS 3.0.10 Mon 05 Oct 2015 15:00:00 EDT urgency=medium
        Feature improvements
index 7d05052..1b2de0d 100644 (file)
@@ -2372,7 +2372,7 @@ static int command_stats_client(rad_listen_t *listener, int argc, char *argv[])
                 */
                fake.auth = radius_auth_stats;
 #ifdef WITH_ACCOUNTING
-               fake.auth = radius_acct_stats;
+               fake.acct = radius_acct_stats;
 #endif
 #ifdef WITH_COA
                fake.coa = radius_coa_stats;