// L2TPNS Radius Stuff
-char const *cvs_id_radius = "$Id: radius.c,v 1.20.2.3 2005/05/30 06:35:19 bodea Exp $";
+char const *cvs_id_radius = "$Id: radius.c,v 1.20.2.4 2005/07/03 02:40:23 bodea Exp $";
#include <time.h>
#include <stdio.h>
if (radius[r].state != state)
radius[r].try = 0;
radius[r].state = state;
- radius[r].retry = backoff(radius[r].try++) + 20; // 3s, 4s, 6s, 10s...
+ radius[r].retry = backoff(radius[r].try++);
LOG(4, s, session[s].tunnel, "Send RADIUS id %d sock %d state %s try %d\n",
r >> RADIUS_SHIFT, r & RADIUS_MASK,
radius_state(radius[r].state), radius[r].try);
if (s)
t = session[s].tunnel;
+ radius[r].retry = backoff(radius[r].try + 1);
switch (radius[r].state)
{
case RADIUSCHAP: // sending CHAP down PPP