From bd88ccb6a43cbc6cd9a4d6d67016250082c87859 Mon Sep 17 00:00:00 2001 From: Jorge Pereira Date: Thu, 26 Nov 2015 16:43:25 -0200 Subject: [PATCH] Bugfix - Used a wrong list to global statistics in 'stats' --- doc/ChangeLog | 1 + src/main/command.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/ChangeLog b/doc/ChangeLog index d6761b0bf3..bd300ecdb7 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -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 diff --git a/src/main/command.c b/src/main/command.c index 7d050523ba..1b2de0d8fc 100644 --- a/src/main/command.c +++ b/src/main/command.c @@ -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; -- 2.47.2