From: it-eddy Date: Tue, 9 Aug 2016 12:28:57 +0000 (+0200) Subject: bugfix stats request X-Git-Tag: release_3_0_12~101 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2788e1736d9d38e41d6b4e2f71f212cebc2602b0;p=thirdparty%2Ffreeradius-server.git bugfix stats request bugfix for stats request to server for specific client (accounting). bit matrix was evaluated at wrong position. --- diff --git a/src/main/stats.c b/src/main/stats.c index 0067d362ef3..8305e44ad81 100644 --- a/src/main/stats.c +++ b/src/main/stats.c @@ -656,7 +656,7 @@ void request_stats_reply(REQUEST *request) &client->auth); } #ifdef WITH_ACCOUNTING - if ((flag->vp_integer & 0x01) != 0) { + if ((flag->vp_integer & 0x02) != 0) { request_stats_addvp(request, client_acctvp, &client->acct); }