From: Alan T. DeKok Date: Thu, 1 Feb 2018 18:48:48 +0000 (-0500) Subject: do de-dup detection for accounting packets, too X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f99b3d79da680a6ed741706a928c1937d9a8c8d;p=thirdparty%2Ffreeradius-server.git do de-dup detection for accounting packets, too --- diff --git a/src/modules/proto_radius/proto_radius_udp.c b/src/modules/proto_radius/proto_radius_udp.c index 91775da6f5f..9c54dfd5c3b 100644 --- a/src/modules/proto_radius/proto_radius_udp.c +++ b/src/modules/proto_radius/proto_radius_udp.c @@ -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; }