]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Allow response_delay to be microseconds, too
authorAlan T. DeKok <aland@freeradius.org>
Wed, 9 Sep 2015 14:16:20 +0000 (10:16 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 9 Sep 2015 14:16:20 +0000 (10:16 -0400)
src/main/process.c

index 99a95c500b307d657caa008df864d581ec0e2490..1cfb9bf66b3e4a181d4bb012a380330c5c0fb994 100644 (file)
@@ -1417,8 +1417,8 @@ static void request_finish(REQUEST *request, int action)
        /*
         *      Send the reply.
         */
-       if (request->response_delay.tv_sec == 0) {
-               rad_assert(request->response_delay.tv_usec == 0);
+       if ((request->response_delay.tv_sec == 0) &&
+           (request->response_delay.tv_usec == 0)) {
 
                /*
                 *      Don't print a reply if there's none to send.