]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
don't count Status-Server
authorAlan T. DeKok <aland@freeradius.org>
Sun, 23 Jun 2024 16:50:38 +0000 (12:50 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 24 Jun 2024 02:13:02 +0000 (22:13 -0400)
we don't count replies to it, so we shouldn't count requests, too

src/main/listen.c

index e7e79411c01fd8e8dfaead9ef7f4d7bb3ed8220a..0f8990a86dec7d38266d26825ed0513f90c9ad67 100644 (file)
@@ -1545,8 +1545,6 @@ static int stats_socket_recv(rad_listen_t *listener)
        rcode = rad_recv_header(listener->fd, &src_ipaddr, &src_port, &code);
        if (rcode < 0) return 0;
 
-       FR_STATS_INC(auth, total_requests);
-
        if (rcode < 20) {       /* RADIUS_HDR_LEN */
                if (DEBUG_ENABLED) ERROR("Receive - %s", fr_strerror());
                FR_STATS_INC(auth, total_malformed_requests);