]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
call the set_process routine
authorAlan T. DeKok <aland@freeradius.org>
Thu, 15 Jun 2017 18:02:10 +0000 (14:02 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 15 Jun 2017 18:04:48 +0000 (14:04 -0400)
src/lib/io/worker.c

index 58f996bc576a1614f0a43fc282e5a905823f7956..dfd215bfcad4686e36786605326d938a77973d7a 100644 (file)
@@ -688,6 +688,12 @@ static REQUEST *fr_worker_get_request(fr_worker_t *worker, fr_time_t now)
        request->async->io = cd->io;
        io = request->async->io;
 
+       /*
+        *      Call the main protocol handlr to set the right async
+        *      process function.
+        */
+       io->set_process(request, io->app_ctx);
+
        /*
         *      Now that the "request" structure has been initialized, go decode the packet.
         *