X-Git-Url: http://git.sameswireless.fr/l2tpns.git/blobdiff_plain/1642e0dbaae2eaaed894d01ef94d0fe2520c6de2..c266121a2c5e1b073dcf26c1ab64bd7b5febe4f3:/radius.c?ds=sidebyside diff --git a/radius.c b/radius.c index 5d94720..395e7a0 100644 --- a/radius.c +++ b/radius.c @@ -1,6 +1,6 @@ // L2TPNS Radius Stuff -char const *cvs_id_radius = "$Id: radius.c,v 1.29 2005/05/05 10:02:08 bodea Exp $"; +char const *cvs_id_radius = "$Id: radius.c,v 1.30 2005/05/07 08:17:26 bodea Exp $"; #include #include @@ -91,6 +91,8 @@ uint16_t radiusnew(sessionidt s) radius[r].state = RADIUSWAIT; radius[r].retry = TIME + 1200; // Wait at least 120 seconds to re-claim this. + random_data(radius[r].auth, sizeof(radius[r].auth)); + LOG(3, s, session[s].tunnel, "Allocated radius %d\n", r); return r; }