]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
use local retry variable
authorAlan T. DeKok <aland@freeradius.org>
Tue, 10 Oct 2017 18:59:46 +0000 (14:59 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 11 Oct 2017 12:51:06 +0000 (08:51 -0400)
src/modules/rlm_radius/rlm_radius_udp.c

index 2df1b3eb697e13374a403240d55e1d989d0d9ca3..edc4f4cb1ec5f23e2f6dd4a7fb32cebe60de294d 100644 (file)
@@ -1022,7 +1022,7 @@ static int retransmit_packet(rlm_radius_udp_request_t *u, struct timeval *now)
        }
 
        RDEBUG("Retransmitting request (%d/%d).  Expecting response within %d.%06ds",
-              u->timer.count, c->inst->parent->retry[u->code].mrc, u->timer.rt / USEC, u->timer.rt % USEC);
+              u->timer.count, u->timer.retry->mrc, u->timer.rt / USEC, u->timer.rt % USEC);
 
        /*
         *      Debug the packet again, including any extra