Requests to to status server should not be added to the internal counters,
notably the Access-Accept replies. See also the thread in
http://lists.freeradius.org/pipermail/freeradius-devel/2013-March/007801.html
#endif
(request->listener->type != RAD_LISTEN_AUTH)) return;
+ /* don't count statistic requests */
+ if (request->packet->code == PW_STATUS_SERVER)
+ return;
+
#undef INC_AUTH
#define INC_AUTH(_x) radius_auth_stats._x++;request->listener->stats._x++;request->client->auth._x++;