From: Alan T. DeKok Date: Tue, 30 Jan 2018 20:07:15 +0000 (-0500) Subject: detached children can run forever... mostly X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2c3c39b62f00eba0fccfd51018311fbf6b3fa3a6;p=thirdparty%2Ffreeradius-server.git detached children can run forever... mostly --- diff --git a/src/main/unlang_op.c b/src/main/unlang_op.c index 24467150e77..677161a969a 100644 --- a/src/main/unlang_op.c +++ b/src/main/unlang_op.c @@ -500,9 +500,9 @@ static REQUEST *unlang_child_alloc(REQUEST *request, unlang_t *instruction, rlm_ child->async = talloc_zero(child, fr_async_t); #define COPY_FIELD(_x) child->async->_x = request->async->_x - COPY_FIELD(original_recv_time); - COPY_FIELD(recv_time); COPY_FIELD(listen); + COPY_FIELD(recv_time); + child->async->original_recv_time = child->async->recv_time; /* * Always set the "process" function to the local