From: Alan T. DeKok Date: Tue, 3 Oct 2017 15:25:40 +0000 (-0400) Subject: print time after the timer has been initialized X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95f47cd58dfef5f2df276b161ef4c72ecf4d5949;p=thirdparty%2Ffreeradius-server.git print time after the timer has been initialized --- diff --git a/src/modules/rlm_radius/rlm_radius_udp.c b/src/modules/rlm_radius/rlm_radius_udp.c index b17e004aa3b..e180ebcdc96 100644 --- a/src/modules/rlm_radius/rlm_radius_udp.c +++ b/src/modules/rlm_radius/rlm_radius_udp.c @@ -1342,15 +1342,16 @@ static int conn_write(rlm_radius_udp_connection_t *c, rlm_radius_udp_request_t * u->packet_len = packet_len; if (!c->inst->parent->synchronous) { - RDEBUG("Proxying request. Expecting response within %d.%06ds", - u->timer.rt / USEC, u->timer.rt % USEC); - rad_assert(u->timer.retry == &c->inst->parent->retry[u->code]); if (rr_track_start(u, &u->timer, c->thread->el, response_timeout, u) < 0) { RDEBUG("Failed starting retransmit tracking"); return -1; } + + RDEBUG("Proxying request. Expecting response within %d.%06ds", + u->timer.rt / USEC, u->timer.rt % USEC); + } else { /* * If the packet doesn't get a response,