- // We stop waiting for radius after BUSY_WAIT_TIMEOUT 1/10th seconds
- if (abs(TIME - start_busy_wait) > BUSY_WAIT_TIMEOUT)
+ // We stop waiting for radius after BUSY_WAIT_TIME 1/10th seconds
+ if (abs(TIME - start_busy_wait) > BUSY_WAIT_TIME)
{
log(1, 0, 0, 0, "Giving up waiting for RADIUS to be empty. Shutting down anyway.\n");
return 0;
{
log(1, 0, 0, 0, "Giving up waiting for RADIUS to be empty. Shutting down anyway.\n");
return 0;