Ticket #94: radius.diff

File radius.diff, 662 bytes (added by Julien ÉLIE, 12 years ago)
  • radius.c

    old new  
    444444            now = time(0);
    445445            tmout.tv_sec = end - now + 1;
    446446            tmout.tv_usec = 0;
     447            warn("timeout talking to remote radius server %s:%d",
     448                 inet_ntoa(sreq->sinr.sin_addr), ntohs(sreq->sinr.sin_port));
    447449            continue;
    448450        }
    449451        slen = sizeof(sinl);
     
    484486      }
    485487    }
    486488    if (authtries == 0)
    487         warn("cannot talk to remote radius server %s:%d",
    488              inet_ntoa(sreq->sinr.sin_addr), ntohs(sreq->sinr.sin_port));
     489        warn("cannot talk to any remote radius servers");
    489490    return(-2);
    490491}
    491492