On my host (Slackware Linux), the last two FreeRADIUS snapshots fail to compile with this error:
misc.c: In function `ip_hostname': misc.c:56: warning: passing arg 4 of `gethostbyaddr_r' from incompatible pointer type misc.c:56: warning: passing arg 5 of `gethostbyaddr_r' makes pointer from integer without a cast misc.c:56: warning: passing arg 6 of `gethostbyaddr_r' makes integer from pointer without a cast misc.c:56: too few arguments to function `gethostbyaddr_r' misc.c:56: warning: assignment makes pointer from integer without a cast misc.c:40: warning: unused variable `result' misc.c: In function `ip_getaddr': misc.c:89: warning: passing arg 5 of `gethostbyname_r' from incompatible pointer type misc.c:89: too few arguments to function `gethostbyname_r' misc.c:89: warning: assignment makes pointer from integer without a cast Gethostbyaddr_r() appears to be either GNU/Linux-specific, or FreeRADIUS-specific. I can't find a man page for this function, and gethostbyaddr(3) only shows three arguments (rather than the six or so being passed in misc.c). Anybody have a quick fix for this before I go digging through the code? Thanks! Justin McNutt Network Systems Analyst - Expert DNPS, Mizzou Telecom (573) 882-5183 One IP to rule them all, one IP to find them, One IP to bring them all, and in the darkness BIND them, In the land of Ether, where the packets fly. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
