projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9009f5d
)
* Add some additional debugging code to show what IP address
author
hartwick
<hartwick>
Tue, 20 Mar 2001 03:01:59 +0000
(
03:01
+0000)
committer
hartwick
<hartwick>
Tue, 20 Mar 2001 03:01:59 +0000
(
03:01
+0000)
couldn't be found in the clients list.
src/main/client.c
patch
|
blob
|
history
diff --git
a/src/main/client.c
b/src/main/client.c
index
4a951bc
..
74524cd
100644
(file)
--- a/
src/main/client.c
+++ b/
src/main/client.c
@@
-239,6
+239,7
@@
void client_walk(void)
const char *client_name(uint32_t ipaddr)
{
RADCLIENT *cl;
+ char host_ipaddr[16];
if ((cl = client_find(ipaddr)) != NULL) {
if (cl->shortname[0])
@@
-246,6
+247,8
@@
const char *client_name(uint32_t ipaddr)
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