]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
do de-dup detection for accounting packets, too
authorAlan T. DeKok <aland@freeradius.org>
Thu, 1 Feb 2018 18:48:48 +0000 (13:48 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 1 Feb 2018 18:48:48 +0000 (13:48 -0500)
src/modules/proto_radius/proto_radius_udp.c

index 91775da6f5f022f158eda3c4f270825a5fc72f92..9c54dfd5c3b66eac626e961c090eda9ffae38247 100644 (file)
@@ -1624,8 +1624,8 @@ static ssize_t mod_write(void *instance, void *packet_ctx,
         *      cleanup_delay = 0, then we even clean up
         *      Access-Request packets immediately.
         */
-       if ((track->data[0] != FR_CODE_ACCESS_REQUEST) || !inst->cleanup_delay) {
-               DEBUG3("Not Access-Request.  Deleting tracking table entry");
+       if (!inst->cleanup_delay) {
+               DEBUG3("Deleting tracking table entry");
                goto done;
        }