couldn't be found in the clients list.
const char *client_name(uint32_t ipaddr)
{
RADCLIENT *cl;
const char *client_name(uint32_t ipaddr)
{
RADCLIENT *cl;
if ((cl = client_find(ipaddr)) != NULL) {
if (cl->shortname[0])
if ((cl = client_find(ipaddr)) != NULL) {
if (cl->shortname[0])
else
return cl->longname;
}
else
return cl->longname;
}
+
+ radlog(L_ERR, "Couldn't lookup %s\n", ip_ntoa(host_ipaddr, ipaddr));
/*
* We should NEVER reach this piece of code, as we should
/*
* We should NEVER reach this piece of code, as we should