svn commit: r211238 - projects/sv/usr.sbin/netdumpsrv
Attilio Rao
attilio at FreeBSD.org
Thu Aug 12 20:04:11 UTC 2010
Author: attilio
Date: Thu Aug 12 20:04:11 2010
New Revision: 211238
URL: http://svn.freebsd.org/changeset/base/211238
Log:
Avoid occurrence that will need to be reworked/axed by killing
temporarilly.
Modified:
projects/sv/usr.sbin/netdumpsrv/netdump_server.c
Modified: projects/sv/usr.sbin/netdumpsrv/netdump_server.c
==============================================================================
--- projects/sv/usr.sbin/netdumpsrv/netdump_server.c Thu Aug 12 20:03:31 2010 (r211237)
+++ projects/sv/usr.sbin/netdumpsrv/netdump_server.c Thu Aug 12 20:04:11 2010 (r211238)
@@ -101,8 +101,10 @@ struct netdump_client * alloc_client(str
if ((hp = gethostbyaddr((const char *)ip, sizeof(*ip), AF_INET)) == NULL ||
!hp->h_name || strlen(hp->h_name) == 0)
{
+#if 0
/* Can't resolve; use IP */
addr2ascii(AF_INET, ip, sizeof(*ip), client->hostname);
+#endif
}
else
{
More information about the svn-src-projects
mailing list