-
-void radius_clean()
-{
- int i;
-
- log(1, 0, 0, 0, "Cleaning radius session array\n");
-
- for (i = 1; i < MAXRADIUS; i++)
- {
- if (radius[i].retry == 0
- || !session[radius[i].session].opened
- || session[radius[i].session].die
- || session[radius[i].session].tunnel == 0)
- radiusclear(i, 0);
- }
-}