]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
print when retransmit timers hit, even if there's no connection
authorAlan T. DeKok <aland@freeradius.org>
Tue, 3 Oct 2017 18:24:36 +0000 (14:24 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 3 Oct 2017 18:24:36 +0000 (14:24 -0400)
src/modules/rlm_radius/rlm_radius_udp.c

index eacd1b8bb280996334539cc31ed71737bbcb48f9..37a377f028a479523c6c722725cc4d9103347096 100644 (file)
@@ -1037,7 +1037,11 @@ static void response_timeout(fr_event_list_t *el, struct timeval *now, void *uct
        /*
         *      Try to retransmit.
         */
-       if (u->rr) RDEBUG("Retransmitting ID %d on connection %s", u->rr->id, c->name);
+       if (u->rr) {
+               RDEBUG("Retransmitting ID %d on connection %s", u->rr->id, c->name);
+       } else {
+               RDEBUG("No available connections for retransmission.  Waiting until next timeout.");
+       }
 
        rcode = rr_track_retry(&u->timer, now);
        if (rcode < 0) {